QUnit Async Tests with setup And teardown
I need a little help understanding QUnit internas. I read its source from time to time, but i'm still writing weird test when it comes to asynchronous tests. I understand the concept of asynchronous tests, and the stop() and start() methods (and why they are needed), but when i combine them with setup and teardown i get a lot of weired situations. Here is my Testcode: use(['Psc.Exception','Psc.Code'], function () { module("async", { setup: function () { console.log('setup'); }, teardown: function () { console.log('teardown'); } }); asyncTest("test1", function () { expect(0); console.log('test1