From: <sco...@jb...> - 2005-04-27 01:09:38
|
Yes, that is what I wanted to test. Any client facing api needs to be tested, so remote ejbs, jms, webservices, jndi, jmx. These all have well defined packages in the testsuite. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875522#3875522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875522 |
From: <cle...@jb...> - 2005-04-27 16:19:53
|
My point is to find a minimal set of tests. For example in webservices, we have about 28 or 27 packages in the testsuite. (I've copied in this message for convenience). Do we need to exercize all of them to make sure the client API works? List of tests in web-services: org.jboss.test.webservice.admindevel org.jboss.test.webservice.attachment org.jboss.test.webservice.contextroot org.jboss.test.webservice.encstyle org.jboss.test.webservice.exception org.jboss.test.webservice.handlerflow org.jboss.test.webservice.header org.jboss.test.webservice.jbas897 org.jboss.test.webservice.jbws124 org.jboss.test.webservice.jbws128 org.jboss.test.webservice.jbws153 org.jboss.test.webservice.jbws64 org.jboss.test.webservice.jbws68 org.jboss.test.webservice.jbws70 org.jboss.test.webservice.jbws71 org.jboss.test.webservice.jbws79 org.jboss.test.webservice.jbws82 org.jboss.test.webservice.jbws83 org.jboss.test.webservice.jbws84 org.jboss.test.webservice.marshalltest org.jboss.test.webservice.message org.jboss.test.webservice.samples org.jboss.test.webservice.samples2 org.jboss.test.webservice.samples2docclient org.jboss.test.webservice.version org.jboss.test.webservice.ws4eesimple org.jboss.test.webservice.wsdlimport View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875619#3875619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875619 |
From: <sco...@jb...> - 2005-04-27 22:10:55
|
I would say all should be included. You can check with Thomas to see if some of these tests are excersizing features that really should not be considered as supportable across versions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875674#3875674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875674 |
From: <cle...@jb...> - 2005-04-28 15:36:39
|
This is almost done, I'm just validating it before I commit the code. I have only one consideration. Some of the tests are requiring jboss.jar. As jboss.jar has all the classes contained into jboss-client.jar I'm not sure if I could add jboss.jar in the classpath for this tests as well. I don't know, it looks like some of these classes contained into jboss.jar should be present in jboss-client.jar as well, what would represent some point to be fixed. For example, org.jboss.test.client.test.MetaDataUnitTestCase requires org/jboss/metadata/ClientMetaData which is not represent into jboss-client.jar Any thoughts Scott? Clebert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875794#3875794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875794 |
From: <sco...@jb...> - 2005-04-28 15:48:18
|
A test that requires jboss.jar either is not an external client test (and MetaDataUnitTestCase is not an external client test that should be run in this compatibility testsuite), or it indicates a problem with the definition of the client jars. Every unit test in this compatibility test run should be able to run using only the jars in the client directory of the dist. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875798#3875798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875798 |
From: <cle...@jb...> - 2005-04-28 17:51:49
|
Ok! Just as a FYI (Let me know if you foresee any problem): I'm composing the classpath with: - build.classes = compiled classes from the testsuite - all the client libraries for a specific version - library.classpath - as some of the classes are make usage of these libraries: apache.avalon.classpath apache.commons.classpath apache.log4j.classpath apache.xerces.classpath apache.jaxme.classpath wutka.dtdparser.classpath dom4j.dom4j.classpath oswego.concurrent.classpath ibm.wsdl4j.classpath jacorb.jacorb.classpath jgroups.jgroups.classpath junit.junit.classpath junitejb.junitejb.classpath javassist.classpath sun.jaf.classpath sun.javamail.classpath sun.servlet.classpath trove.classpath gnu.regexp.classpath apache.bcel.classpath hsqldb.hsqldb.classpath hibernate2.classpath odmg.classpath cglib.classpath View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875821#3875821 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875821 |
From: <sco...@jb...> - 2005-04-28 18:10:11
|
Yes, that's what we want to do. This also helps test another compatibility issue with classes missing from client jars that has shown up from time to time due to the promiscuous use of the jboss module classes as the testuite classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875827#3875827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875827 |
From: <cle...@jb...> - 2005-04-29 16:58:50
|
The code is already commited into Branch_4_0. The matrix testsuite is part of the regular testsuite. The only requirement for this is to have defined a variable -Dmatrix-versions. I'm trying to fix cruise control testsuite for jboss-4.0 and configure the matrix execution against: - jboss-4.0. (It's really broken anyway. I guess the only thing that passed was jbossMX. I will remove as soon as people are familiar with this) - jboss-4.1-sp1 - we will always check the current version just to validate classpath issues View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875953#3875953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875953 |
From: <cle...@jb...> - 2005-04-29 16:59:46
|
oops... I forgot to mention the wiki page for this: http://www.jboss.org/wiki/Wiki.jsp?page=HowToExecuteMatrixTests View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875954#3875954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875954 |