Is anyone using ant to run their JUnit test scripts? If so could you show me your task?
On Oct 15, 10:07 am, javaunixsolaris <[email protected]> wrote: > From within Eclipse my test case works great, but when I try to run it > from the generated shell script (which uses junit.textui.TestRunner) > it fails: " The test class '...' depends on a unit that had compile > errors; check log for details". I think this happens because it > removes classes the test case depends on "Removing invalidated units". > > I believe the reason it removes these units is because of my > annotations: "[ERROR] Line 14: The import javax.persistence cannot be > resolved". But these annotations do not matter when I deploy my > application or when I test from within Eclipse! > > So I guess my question is why is the GWTTestCase triggered GWT- > compiler different then "com.google.gwt.dev.Compiler". And can I flag > it to 'ignore' the gwt compile errors? > > My overall goal would be to put the test cases into my build.xml and > have a quick "ant" way to run my test suite. > > PS. When I say 'generated shell script' that is accomplished with the > "junitCreator". --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
