QUnit.module('module 1'); QUnit.test( "hello test", function( assert ) { assert.ok( 1 == "1", "Passed!" ); }); QUnit.test('my first test', function(assert) { assert.ok(true); }); QUnit.module('module 2'); QUnit.test('my second test', function(assert) { assert.ok(true); });