Home Junit JUnit 4.3.1



JUnit 4.3.1
Posted on: October 6, 2006 at 12:00 AM
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.

Related Tags for JUnit 4.3.1:


More Tutorials from this section

Ask Questions?    Discuss: JUnit 4.3.1   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.