views:

298

answers:

1

Is it possible to have teardown methods that run after every test in qUnit? If not, are there any plugins around that will do this?

+6  A: 

You can pass it in the module function like this:

module( "name", {teardown: function() {...}});
Jacek