This repository was archived by the owner on Apr 7, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030<!-- Begin Main -->
3131First download jWebUnit from the < a href ="http://sourceforge.net/projects/jwebunit/files "> files area</ a >
3232and expand to a local directory.< p >
33- There are some jars for jWebUnit dependencies in the lib directory of your installation that may need to be added
34- to your project's classpath before you can write project tests with jWebUnit. The dependencies are as follows:
33+ The following dependencies are distributed with jWebUnit and are available in the lib directory:
3534< p >
3635< h2 > Dependencies</ h2 >
3736< table class ="default " cellspacing ="2 " border ="1 ">
Original file line number Diff line number Diff line change 4242< tr > < td > < a name ="createTestCase ">
4343</ table >
4444< h2 > Creating a TestCase</ h2 >
45- jWebUnit uses two approaches for creating test cases: inheritence and delegation. The simplest way is
45+ jWebUnit uses two approaches for creating test cases: inheritence and delegation. The simplest is
4646to inherit from WebTestCase rather than junit.framework.TestCase.
4747< pre >
4848import net.sourceforge.jwebunit.WebTestCase;
@@ -53,7 +53,7 @@ <h2>Creating a TestCase</h2>
5353 }
5454}
5555</ pre >
56- The alternative is to include an instance of the WebTester class in you TestCase and delegate navigation
56+ An alternative is to include an instance of the WebTester class in you TestCase and delegate navigation
5757and assertions to it. This is provided in case your need or prefer delegation.
5858< pre >
5959import junit.framework.TestCase;
You can’t perform that action at this time.
0 commit comments