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 //"Arguments"// 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 //"Arguements"// 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,14 +19,9 @@ 19 19 20 20 {{/noformat}} 21 21 22 -[[image:RunConfig1.jpg]] 23 - 24 24 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 - 27 27 Select the //"Java"// folder of your build product. 28 28 Use the //"Up/Down"// buttons to move this folder at the first position of your classpath. 29 -[[image:RunConfig3.jpg]] 30 30 31 31 {{note title="Be Careful"}} 32 32