[JBoss-dev] [Design of JBoss internal QA (Test Suite)] - Re: Functional Tests

2004-12-22 Thread [EMAIL PROTECTED]
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


[JBoss-dev] [Design of JBoss internal QA (Test Suite)] - Re: Functional Tests

2004-12-23 Thread [EMAIL PROTECTED]
1.  You are correct, there needs to be an additional level here. I have added 
your recommended package structure to the wiki page.  

2. We need the additional targets you describe.  The testsuite is the best 
place to start for these. 

3. I have added a place for you to put the build.xml when you are done.  It is 
at the bottom of the wiki page.

As part of build system refactoring, we need to create a 
testsuite/imports/functional-tests-build.xml which can be imported by module's 
tests/build.xml to provide the common functionality for building & running 
these tests.

http://jira.jboss.com/jira/browse/JBAS-76

Also, the above wiki doc will need to be incorporated into the testsuite 
docbook.

http://jira.jboss.com/jira/browse/JBAS-77

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859779#3859779

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3859779


---
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