I am applying the guidelines from
http://www.jboss.org/wiki/Wiki.jsp?page=FunctionalTests to JBoss Messaging
(jboss-head/jms) and I have several questions so far:
1. Is there any recommended package structure to use under /module/tests/src?
Should be org.jboss.test.messaging or the decision is left to the module
developers?
I am currently using a package structure that mirrors the module's package
structure, but I don't think this is such a good idea, should we ever want to
bundle functional tests together with the rest of the module's artifacts,
because it will lead to name collisions.
2. Is there a recommended way (build.xml targets and implementation examples)
to run individual tests or all tests from specific packages? The old testsuite
allows for
./build.sh -Dtest=org.jboss.test.mypackage.MyTest one-test
| and
| ./build.sh -Dtest=mypackage test
If there is an example, I will be happy to use it, otherwise I will try to
recycle sections of the old testsuite build.xml.
3. I think it would be good idea to insert into
http://www.jboss.org/wiki/Wiki.jsp?page=FunctionalTests a module/test/build.xml
example. People could use it as a starting point and also it will showcase the
latest policies concerning functional tests. If you also think it is a good
idea, I could start by inserting the build.xml I am currently using.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859703#3859703
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859703
---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development