James Shore

Results 11 issues of James Shore

Quixote's new assertion API was described in issue #47. Some of the assertions were released in v1.0. This issue describes the next batch of improvements. # Rectangles Introduce a new...

enhancement

Even when using web fonts, font metrics vary across browsers. We need the ability to easily do relative comparisons to the current browser's font metrics. For example, if we want...

enhancement

When Firefox renders a button, by default it adds 2px of padding inside the button. (See [this StackOverflow post](http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox).) Add a browser detect for this scenario.

enhancement

When testing CSS that has web fonts, Quixote sometimes loads the web font and then runs the test, and sometimes runs the test and then loads the web font. We...

enhancement

At present, Quixote fails fast when you make a "nonsense" comparison. For example, if you compare the width of an element to its top edge: ``` javascript element.assert({ width: element.top...

discussion

I recently upgraded gaze from 0.4.3 to 0.6.3 and now it won't install on Windows because I don't have Python installed. (Installing Python isn't an option in this case.) The...

Impressive collection! The only tool I've found that wasn't listed was [Bootcamp](http://thejameskyle.com/bootcamp/).

When I run `nvmw install`, it fails the first time with a "Can't get npm" error. If I run the command again, it works. Windows 7 SP1. Example 1: ```...

In karma-commonjs 1.0.0, `require("foo");` doesn't work on Windows due to the drive letter being stripped off. This patch preserves the drive letter, which fixes the problem.

In [commonjs_bridge.wrapper](https://github.com/karma-runner/karma-commonjs/blob/master/src/commonjs_bridge.wrapper), karma-commonjs "requires" all files. This has the effect of running all files, which can cause odd behavior. The correct behavior is only to run files when a `require`...