XpdWiki
Set your name in
UserPreferences Edit this page Referenced by
JSPWiki v2.0.52
![]() ![]() |
* Just import Junit and derive your own TestCase from that of Junit. Write a main method and invoke using run (or CTRL+E in VisualAge v3 ). The main looks something like this: public static void main (String args) { junit.textui.TestRunner.run (suite()); } * Put Junit as a Tool, so you can invoke the test using right-click and select Tools...Junit. * Use the IBM VisualAge toolkit to write a helper template to create a TestCase derivative with all the right methods, such as main. There are several ways to add Junit to your development toolset. It is a matter of usability when it comes to invoking your tests that determines the best method: * Just import Junit and derive your own TestCase from that of Junit. Write a main method and invoke using run (or CTRL+E in VisualAge v3 ). The main looks something like this: public static void main (String args) { junit.textui.TestRunner.run (suite()); } * Put Junit as a Tool, so you can invoke the test using right-click and select Tools...Junit. * Use the IBM VisualAge toolkit to write a helper template to create a TestCase derivative with all the right methods, such as main.
³³agent³Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)³IntegrateJunitWithVisualAge
|