Home Junit JUnit 4.3.1
Questions:Ask|Latest



JUnit 4.3.1
Posted on: October 6, 2006 By Deepak Kumar
Unit is an open source framework that has been designed for the purpose of writing and running tests in the Java programming language.

JUnit 4.3.1

     

  1. JUnit and its benefits 
    Unit is an open source framework that has been designed for the purpose of writing and running tests in the Java programming language. JUnit was originally written by Erich Gamma and Kent Beck.
      
  2. Downloading and installing JUnit 4.3.1
    In this section, downloading JUnit 4.3.1 address and installation steps have been given. You can download this in your system and test your program whether it is functioning well or not.

      
  3. Writing and testing
    This section starts with a simple example that will illustrate the basic concepts involved in testing with JUnit. In this se ction, we will be creating a java file named Calculator.java which has a method named sum() which takes two int parameters and return addition of these two numbers. So here we have to check whether this method is functioning well in all the conditions or not.

Recommend the tutorial

Ask Questions?    Discuss: JUnit 4.3.1   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
hell
November 28, 2011
nothing

good work
Neveah
January 18, 2013
eRDjuGgiJat

Articles like these put the consumer in the drveir seat-very important.
vincy
February 29, 2012
testing loop

How to test simple FOR loop in java.Explain with example.
PRADEEP
May 1, 2012
need applications to be downloaded

please i need junit applications with different senarios
Gopi
April 21, 2012
Please explain about Junit

Sir, can any one explain about Junit it help me alot.