Run two test files on one page?
Is it possible to include two javascript files of tests in a page? I want to have one file for tests that common to all pages, and one that is specific to the page. But if try
- <div id="qunit"></div>
- <script src="scripts/qunit_home/qunit/qunit.js"></script>
- <script src="scripts/tests/myTests.js"></script>
- <script src="scripts/tests/demoTest.js"></script>
only the last test file runs. If I switch the order of the last two lines, the other set of tests runs.