Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#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)

dojo_ut.20070426.patch (1.6 KB) - added by Jared Jurkiewicz 13 years ago.
Simple patch to add these files in.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by Jared Jurkiewicz

Actually should create trackers for eahc project. Will do that shortly...

Changed 13 years ago by Jared Jurkiewicz

Attachment: dojo_ut.20070426.patch added

Simple patch to add these files in.

comment:2 Changed 13 years ago by Jared Jurkiewicz

(In [8296]) Simple update to UT. refs #2845

comment:3 Changed 13 years ago by Jared Jurkiewicz

Resolution: fixed
Status: newclosed

comment:4 Changed 12 years ago by (none)

Milestone: 0.9M2

Milestone 0.9M2 deleted

Note: See TracTickets for help on using tickets.