Community
Participate
Working Groups
The JDT Java editor allows for syntax/semantics/what-not checking on the fly as you type. It would be nice if we can set a JUnit TestCase or TestSuite to run after this check has been completed so that not only do we know our code actually compiles, but we will also know that our JUnit tests are all green. Of course, if there are compiler errors, they should not run.
*** This bug has been marked as a duplicate of bug 51292 ***
I think it's a good idea to have unit testing as part of the build process, and a simple way of doing it could be run a test suite on autobuilds, as requested in bug 245776. For example, we could have a new builder type "JUnit Test" together with "Program" and "Ant Build", and then check run on autobuilds option. Another way would be adding such option for JUnit run configurations. In both cases being possible to show JUnit view only on test failures.