specit
specit copied to clipboard
A wrapper around QUnit that has a similar style to RSpec
How about registering it in bower packages?
Fix for issue #8 - asserts on "undefined" always fail due to JSON.stringify(window)
Replaced some deprecated functions, ensuring all tests fixed and running. Author: Ian Truslove
When I use assert(mything).should(beAn, Object), I see the following uncaught exception: QUnit.equals has been deprecated since 2009 (e88049a0), use QUnit.equal instead would the fix be to change the matchers within...
Hi Joshua, What would be the best way to test if something is/equals null? I can't find a beNull matcher. Now I do something like: ``` javascript assert( ( myVal...
There appear to be a couple of items that impede easy use of SpecIt with the Node QUnit runner. In particular $ could be aliased as window.$, the module function...
Either of the following assertions throws a TypeError due to SpecIt calling `JSON.stringify(window)`: ``` javascript assert(undefined).shouldNot(be); assert(undefined).should(eql, undefined); ``` The problem originates in `objectToSpecIt()` which passes `expectation` as the first...
Create NPM package to use with node implementation of QUnit: https://github.com/kof/node-qunit
I found strange behavior, when I write nested describe's all examples run twice. I think will be better if nested describe's works like RSpec.