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.TestCases class.
- 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 'assertSame' Example Using Ant
This example illustrates about how to use the 'assertSame' assertion
method.
- JUnit Test 'assertNotSame' Example Using Ant
As like the previous example it illustrates about how to use the 'assertNotSame'
assertion method.
- 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.

|