Skip to content

Commit 9a4f4eb

Browse files
committed
Updated readme to reflect the addition of TestSuite.
1 parent 49fe4ad commit 9a4f4eb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.rdoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,19 @@ Then compile from the command line using something like:
105105

106106
Now you can run the generated .swf through Flash Player or from your webbrowser and watch the results.
107107

108+
=== Running Multiple Test Cases Using TestSuite
109+
110+
If you want to run more than one test case but still only do one report for all tests you can use the TestSuite class. Instantiate a TestSuite and add cases useing the addCase function like in the example.
111+
112+
import leanUnit.*
113+
import test.*
114+
115+
var testSuite = new TestSuite()
116+
testSuite.addCase( new StringTest() )
117+
testSuite.addCase( new ArrayTest() )
118+
testSuite.run()
119+
120+
108121
== LICENSE
109122

110123
(The MIT License)

0 commit comments

Comments
 (0)