Home Junit JUnit 4.3.1

Related Tutorials


 
 

Share on Google+Share on Google+

JUnit 4.3.1

Advertisement
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 section, 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.
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 6, 2006

Related Tutorials

Discuss: JUnit 4.3.1   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:8
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
sudha
February 10, 2014
junit training

i am very eager to learn JUnit ......can u help me please
sudha
February 10, 2014
junit

i would like to learn junit .please help me learn it
kellwin
March 17, 2014
junit sample

how to check simple junit test for simple method.......i m waiting for ur's reply
Gopi
April 21, 2012
Please explain about Junit

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