- step 1: Download the junit jar file (e.g., you can download this one.)
- step 2: Add the junit in your project path. (e.g., I already shown in another post how to that.)
- step 3: Follow the example here to get an idea.
- step 4: To gain more experience, try this exercise (from the class that I am TAing).
Nov 17, 2011
Junit test in eclipse
You can run a bunch of tests to verify the correctness of the implemented methods in a java class using Junit test. In order to do that, you have to write some junit test code in your program. Here goes the steps:
Subscribe to:
Post Comments (Atom)
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Health benefit and values
-
It started on a rainy day. So1ace was one of the best friends I had ever in my life. He arrived in my life on 29th January 2013. I spent 3 ...
No comments:
Post a Comment