#2845 closed enhancement (fixed)
M2: 09: Create unit test runner HTML file and module.js loader files for dojo and dojox.
Reported by: | Jared Jurkiewicz | Owned by: | Jared Jurkiewicz |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | TestFramework | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
The unit tests for each module could use a runner html introduced that allow for simple loads of the unit tests per module. The contents of the runners would look something like:
Dojo: <!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.0 TransitionalEN"> <html>
<head> <title>Dojo CORE and BASE D.O.H. Unit Test Runner</title> <meta http-equiv="REFRESH" content="0;url=../../util/doh/runner.html?testModule=dojo.tests.module"></HEAD> <BODY>
Redirecting to D.O.H runner.
</BODY>
</HTML>
Dojox: <!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.0 TransitionalEN"> <html>
<head> <title>Dojox Unit Test Runner</title> <meta http-equiv="REFRESH" content="0;url=../../util/doh/runner.html?testModule=dojox.tests.module"></HEAD> <BODY>
Redirecting to D.O.H runner.
</BODY>
</HTML>
And each main module (dojo, dojox, etc), will have a <modulename>/tests/module.js file that loads all the tests for that module. It also makes it a good point for folks ot ad din modules, instead of in dojo (base and core) currently having everything in the _base.js testfile.
This was agreed to in mails wit Alex, for reference. I'll be putting this in today.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by
Changed 14 years ago by
Attachment: | dojo_ut.20070426.patch added |
---|
Simple patch to add these files in.
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Actually should create trackers for eahc project. Will do that shortly...