This content has been marked as final.
Show 7 replies
-
1. Re: How to use JBossTestCase for my own EJBs?
starksm64 Nov 21, 2006 11:00 AM (in response to dakbari)Yes, you can.
-
2. Re: How to use JBossTestCase for my own EJBs?
dakbari Nov 22, 2006 3:45 AM (in response to dakbari)Ok, testing testsuite's own examples works fine like with:
E:\jboss-4.0.5.GA-src\testsuite>build.bat one-test -Dtest=org.jboss.test.hello.test.HelloCachedUnitTestCase
I can write mypackage.MyTestCase outside of testsuite. How does the commandline then look like?build.bat one-test ???
Regards,
dakbari -
3. Re: How to use JBossTestCase for my own EJBs?
dakbari Nov 22, 2006 4:30 AM (in response to dakbari)I'm confused whether one has to create his own TestCase inside or outside the Testsuite.
What is best practize here?
Regards,
dakbari -
4. Re: How to use JBossTestCase for my own EJBs?
dakbari Nov 22, 2006 10:13 AM (in response to dakbari)I could extend tests.classpath in testsuite's build.xml with my ejb and test case stuff.
Would that be the way one should use the testsuite for own test cases?
Any hints are welcome. -
5. Re: How to use JBossTestCase for my own EJBs?
starksm64 Nov 22, 2006 11:13 AM (in response to dakbari)Create your own build.xml file based on the testsuite example.
-
6. Re: How to use JBossTestCase for my own EJBs?
dakbari Nov 23, 2006 5:29 AM (in response to dakbari)Ok, I create my own build.xml file and start with copy paste the one-test target from testsuite's build.xml into my new build.xml
If that is nonsense, please let me know. -
7. Re: How to use JBossTestCase for my own EJBs?
dakbari Nov 23, 2006 6:29 AM (in response to dakbari)http://www.geocities.com/darya_akbari/JBoss/one_test.JPG
Above you can see an extract of my build.xml. Do I really need the marked stuff?