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
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).
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.TestCasesclass.
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.
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.
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.
Ask Questions? Discuss: Java Testing
Post your Comment