added a way to set planned tests
In order to check that every planned test has actually been executed, a new optional `planned` parameter has been added to `Tester.done()`: ```js casper.test.assert(true); casper.test.assert(true); casper.test.assert(true); casper.test.done(4); ``` Will trigger a failure: ``` fail: 4 tests planned, 3 tests executed. ```
Showing
48 changed files
with
100 additions
and
70 deletions
-
Please register or sign in to post a comment