fixes #704 - provide an 'exit' tester event to hook before runner exits
casper.test.on("exit", function() { console.log("exited"); }) casper.test.begin("sample", function(test) { test.assert(true); test.done(); }); will print "exited" on the last line of the output.
Showing
2 changed files
with
6 additions
and
0 deletions
-
Please register or sign in to post a comment