Home Tutorials Javatesting Java Testing



Java Testing
Posted on: October 14, 2010 at 12:00 AM
This example illustrates about how to write a Black Box test using HttpUnit.

Java Testing

     

  1. HttpUnit Test
    This example illustrates about how to write a Black Box test using HttpUnit. The Block Box test is useful in evaluating the overall health of the application and its ability to provide value to users where an application is tested using its outward-facing interface (usually a graphical user interface). 
          
  2. Running 'assertEquals' method in Junit Test From Ant
    In this example assertEquals (excepted, actual) method are used  to test the application with the JUnit framework, this unit tests are possible by extend the junit.framework.TestCases class.
         
  3. JUnit Test 'assertTrue' Example Using Ant
    This example illustrates about how to use the 'assertTrue' assertion method to test whether the class file executed test cases successfully or not.
        
  4. JUnit Test 'assertSame' Example Using Ant
    This example illustrates about how to use the 'assertSame' assertion method.
         
  5. JUnit Test 'assertNotSame' Example Using Ant 
    As like the previous example it illustrates about how to use the 'assertNotSame' assertion method. 
       
  6. JUnit Test 'assertNotEquals' Example Using Ant
    In the previous example we explain how to use of assertEquals assertion method, in this example we try to illustrates about how to use the 'assertNotEquals' assertion method to test whether the class file executed test cases successfully or not. 
       
  7. JUnit Test 'assertFalse' Example Using Ant
    This example illustrates about how to use the 'assertFalse' assertion method to test whether the class file executed test cases successfully or not.

     

Related Tags for Java Testing:


More Tutorials from this section

Ask Questions?    Discuss: Java Testing  

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.