Changes for page Testing-JUnit and TestNG
Last modified by Johann Werner on 2012/08/06 03:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,7 +3,7 @@ 3 3 == Minor configuration in eclipse == 4 4 5 5 To be able to test your business objects layer in JUnit test cases, you should set the following parameters in your test case/test suite launch configuration : 6 -First in the //"Argu ements"// tab, set your working directory to the build product of your project. For example, for a framework project the working directory should be :6 +First in the //"Arguments"// tab, set your working directory to the build product of your project. For example, for a framework project the working directory should be : 7 7 8 8 {{noformat}} 9 9 ... ... @@ -19,9 +19,14 @@ 19 19 20 20 {{/noformat}} 21 21 22 +[[image:RunConfig1.jpg]] 23 + 22 22 Then, in the classpath tab, select the //"User Entries"// entry and use the //"Advanced..."// button and select the //"Add Folders"// button. 25 +[[image:RunConfig2.jpg]] 26 + 23 23 Select the //"Java"// folder of your build product. 24 24 Use the //"Up/Down"// buttons to move this folder at the first position of your classpath. 29 +[[image:RunConfig3.jpg]] 25 25 26 26 {{note title="Be Careful"}} 27 27