Christopher Hunt created MJSIMP-3:
-------------------------------------

             Summary: Automatically generate QUnit html files in their absence
                 Key: MJSIMP-3
                 URL: https://jira.codehaus.org/browse/MJSIMP-3
             Project: Mojo JavaScript Import Maven Plugin
          Issue Type: New Feature
            Reporter: Christopher Hunt
            Priority: Minor


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:

{quote}
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/\*\*.
{quote}

The reason the issue is against the js import plugin is that this plugin is the 
only thing that has access to the dependency graph. The dependency graph is 
required when generating html files for the purposes of testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to