Changes for page Testing-JUnit and TestNG

Last modified by Yana Oksner on 2026/01/08 12:10

From version 13.1
edited by Johann Werner
on 2012/08/06 03:19
Change comment: Migrated to Confluence 5.3
To version 12.1
edited by Johann Werner
on 2012/08/06 03:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,0 @@
1 -How-tos
RunConfig1.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -78.8 KB
Content
RunConfig2.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -38.8 KB
Content
RunConfig3.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -18.7 KB
Content
bundle_builds.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -9.4 KB
Content
bundleless_builds.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -9.3 KB
Content
vm_arguments.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
Size
... ... @@ -1,1 +1,0 @@
1 -18.0 KB
Content
XWiki.XWikiComments[0]
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.chillatgvc
Comment
... ... @@ -1,1 +1,0 @@
1 -Assuming that you have a Wonder application, you should be able to test bundless-builds by adding -DNSProjectBundleEnabled=true to the VM arguments (yes, VM not Program). This worked for TestNG, I have not tried with JUnit.
Date
... ... @@ -1,1 +1,0 @@
1 -2012-08-01 18:25:38.80
XWiki.XWikiComments[1]
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.jw
Comment
... ... @@ -1,1 +1,0 @@
1 -You are right, with that setting it worked for me too. Though without the build folder when no bundles are generated you have to change the settings a little bit. Updated the wiki page to reflect that.
Date
... ... @@ -1,1 +1,0 @@
1 -2012-08-06 03:26:35.670
Reply To
... ... @@ -1,1 +1,0 @@
1 -0
XWiki.XWikiComments[2]
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.greg
Comment
... ... @@ -1,1 +1,0 @@
1 -hi, when you used your methods how you run your junit test case because a junit test can't run with woApplication and just junit application
Date
... ... @@ -1,1 +1,0 @@
1 -2012-09-05 04:54:46.926
XWiki.XWikiComments[3]
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.greg
Comment
... ... @@ -1,1 +1,0 @@
1 -hi, when you use your methods how you run your junit test case because a junit test can't run with woApplication and just junit application
Date
... ... @@ -1,1 +1,0 @@
1 -2012-09-05 04:54:54.383
XWiki.XWikiComments[4]
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.jw
Comment
... ... @@ -1,1 +1,0 @@
1 -What do you mean with "your methods"? If you need part or complete application/EOF initialization for your tests look just below the code example on this page how to setup your environment (e.g. ERXExtensions.initApp(), ERXExtensions.initEOF(), …).
Date
... ... @@ -1,1 +1,0 @@
1 -2012-09-28 13:35:46.0
Reply To
... ... @@ -1,1 +1,0 @@
1 -2
XWiki.XWikiComments[5]
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.timoteo_ponce
Comment
... ... @@ -1,7 +1,0 @@
1 -Hi. I'm kind of new in WO world, is there an example project where I can check the basic flow for development?
2 -
3 -I mean:
4 -
5 - - working code
6 -
7 - - test units for that code
Date
... ... @@ -1,1 +1,0 @@
1 -2013-01-21 16:03:07.737