I have two XXXTest.html files, each one similar to:
<html> <head> <link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-1.11.0.css" /> <script src="../../../public/scripts/common/SomeUtils.js"></script> </head> <body> <div id="qunit"></div> <div id="qunit-fixture"> <div id="findme">Something specific for the code under test</div> </div> <script src="http://code.jquery.com/qunit/qunit-1.11.0.js"></script> <script src="SomeUtilsTest.js"></script> </body> </html>
Each has its own qunit-fixture, so the html file is equivalent to the JUnit Test Class. I understand that qunit treats modules as roughly the same as the test class, but this is very limiting.
What is the best way to have a master html file that will run tests in other html files? Or what is the βright wayβ to separate the tests that need their own fixtures in the qunit world?
source share