I\'ve been trying to understand how to start writing and running JUnit tests.
When I\'m reading this article:
http://junit.sourceforge.net/doc/testinfected/t
All the above answers are correct, but if you are using in mac little change needed.
Step 1 Write your junit class.
Step 2 Right click on the class ->Tools-> Create/Updates Tests-> Select framework as Junit-> click ok.
Step 3 Right click on the file again ->Test File.
Now it will run as junit, will show the Test Result.