-
1. Re: JSFUnit in Eclipse wiki page
ssilvert Mar 18, 2009 7:38 AM (in response to kragoth)Thanks Tim! Looks great.
-
2. Re: JSFUnit in Eclipse wiki page
wolfgangknauf Mar 18, 2009 3:15 PM (in response to kragoth)Thanks Tim, this was very helpful! I didn't know it was so easy ;-).
I added another way of configuring a Run Configuration to your wiki entry.
Wolfgang -
3. Re: JSFUnit in Eclipse wiki page
kragoth Mar 18, 2009 9:31 PM (in response to kragoth)Excelent! Thanks :)
I had had a few problems with the Run Configuration way of doing it. Maybe you could tell me if I'm missing something.
If I want to run a single test Eclipse creates a brand new Run Configuration. So, this means that for every test I have in my app, I have to add the VM argument to it's run configuration.
Is there some way of setting it up so that all Tests run under a configuration. But I don't want to run all my tests at the same time.
Hope this makes sense. -
4. Re: JSFUnit in Eclipse wiki page
wolfgangknauf Mar 19, 2009 12:14 PM (in response to kragoth)Hi,
how do you start tests? Right click on class, then "Run as" => "JUnit test"? This will probably create a run configuration for each single test class, yes.
If you want to test another class with this same configuration, you will probably need to switch the "Test class" entry of the configuration each time. Not very handy ;-)....
Hope I understood your question correct ;-).
Wolfgang -
5. Re: JSFUnit in Eclipse wiki page
kragoth Mar 19, 2009 7:04 PM (in response to kragoth)Yeah you understood the question. :)
I'm really don't like the idea of switching the 'Test Class' every time I want to run a single class. Seems rather counter intuative.
I should probably bring this up with the Eclipse guys, but not sure I'll get around to it at the moment seeings for the time being it is really not hindering me. As long as I am working on only 1 application the default jvm arg is fine for me.
But it should definitly be a feature request for Eclipse.