-
1. Re: portal testsuite changes for running against differetn d
julien1 Oct 12, 2006 5:43 AM (in response to prabhat.jha)We can define a special property that would contain a classpath with JDBC drivers that would be loaded by the testsuite at runtime.
Would that help you ? -
2. Re: portal testsuite changes for running against differetn d
prabhat.jha Oct 12, 2006 9:27 AM (in response to prabhat.jha)Sounds good to me. This property will then be passed by testsuite to other submodules. Can you do this soon? Or, let me know if you want me to take care of it. I am not sure if I have commit access to portal svn.
When you run tests against multiple database, does output/report from one test gets overwritten by another test? -
3. Re: portal testsuite changes for running against differetn d
julien1 Oct 12, 2006 9:36 AM (in response to prabhat.jha)- we can make it configurable by command line or using local.properties file
- yes test reports are scopped to include the DB name, so each test appears several time with the name appended in the test case name -
4. Re: portal testsuite changes for running against differetn d
prabhat.jha Oct 12, 2006 9:41 AM (in response to prabhat.jha)This reduces amount of work that needs to be done for portal testsuite. I will make corresponding changes to cruisecontrol runs once you are done with your changes.
-
5. Re: portal testsuite changes for running against differetn d
prabhat.jha Nov 10, 2006 4:43 PM (in response to prabhat.jha)I am not sure if I missed something, but I don't see two sets of result from single testsuite run when I have two datasource configured under test/output/etc/datasources.xml.
You can see the latest result at
http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-2.4-testsuite-db/20061110143640/results/index.html
Regards,
prabhat -
6. Re: portal testsuite changes for running against differetn d
bdaw Nov 10, 2006 5:14 PM (in response to prabhat.jha)hmm.... not sure about this but I see there:
testFindUser1_net_sourceforge_jtds_jdbc_Driver
testFindUser1_org_hsqldb_jdbcDriver
testRemoveNonExistingRole_net_sourceforge_jtds_jdbc_Driver
testRemoveNonExistingRole_org_hsqldb_jdbcDriver
and so on... aren't there two sets of results?
Also if you compare tests from 20061031
http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-2.4-testsuite-db/20061031201838/results/org/jboss/portal/test/identity/39_UserTestCase(4_0_4_GA-sqlserver).html
to 20061110
http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-2.4-testsuite-db/20061110143640/results/org/jboss/portal/test/identity/39_UserTestCase.html
you will see 14 testcases against 28 :)
It probably use both data sources per testcase (test method) not per testsuite (test class). I'm sure it's like that in 2.6