Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
Allow js tests to be written without having to create a corresponding html file. Creating an html file purely for the purposes of loading tests is time consuming and error prone. It can also deter the programmer from wanting to write tests given the set up costs.
The logic could go something like this:
If a file named src/test/js/**/*Test.js exists then check for a corresponding src/test/resources/**/*Test.html file (or htm). If there is no corresponding html file then create one in target/test-classes/**.
This cannot be done by the test runner as access is required to a js file's dependency graph. The issue has been raised against the js import plugin instead:
http://jira.codehaus.org/browse/MJSIMP-3