I want to run my unit tests automatically when I save my Eclipse project. The project is built automatically whenever I save a file, so I think this should be possible in some way.
How do I do it? Is the only option really to get an ant script and change the project build to use the ant script with targets build and compile?
Update I will try 2 different approaches now:
- Running an additional builder for my project that executes the ant target test (I have an ant script anyway)
- ct-eclipse, recommended by Thorbjørn