<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
Kabir Khan píše v Pá 25. 11. 2011 v 18:29 +0000:
<BLOCKQUOTE TYPE=CITE>
<PRE>
I have some work in progress in my branch at: <A HREF="https://github.com/kabir/jboss-as/commits/rework-testsuite">https://github.com/kabir/jboss-as/commits/rework-testsuite</A>
I have pushed all the testsuite/integration classes into sub modules, and renamed group-smoke -> smoke etc.
</PRE>
</BLOCKQUOTE>
That's basically what I planned as a next step after merging.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
There are still a few scripts and xslt hanging around in the testsuite/integration aggregator. I have not investigated their usage.
</PRE>
</BLOCKQUOTE>
Ant scripts and XSLT serve to copy AS around and to change configuration. Can be shared by multiple sub-modules, so I'd recommend keeping it in integration/ .<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
>From what I can see the pom2.xml files are not being used, so I've made no attempt to update those.
</PRE>
</BLOCKQUOTE>
Yes, that's something to remove, I had it there to compare old & new harness - regressions and sets of tests run.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
There are some TODOs in the pom's where I am not sure about stuff. I
</PRE>
</BLOCKQUOTE>
I'll do / clean up the TODOs next week.
<BLOCKQUOTE TYPE=CITE>
<PRE>
did not change the pom2.xml files, I'm not sure they are being used?
</PRE>
</BLOCKQUOTE>
Nope.<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Broken stuff:
It is impossible to run a single test from Eclipse, the arquillian.xml file is not found in Eclipse. Probably because this from testsuite/pom.xml does not get added to Eclipse's classpath:
<additionalClasspathElements combine.children="append">
<additionalClasspathElement>${basedir}/src/test/config/arq</additionalClasspathElement>
</additionalClasspathElements>
</PRE>
</BLOCKQUOTE>
I'll check that.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
so I think we should move these back to the resources directory.
Thomas does not like -DallTests running benchmark and stress, what would a good system property name be to enable running those?
We need to reenable the -DskipTests=true we had before
Rather than using xslt to modify the port offsets, we should change the socket bindings to use port-offset="${jboss.port.offset:0}" so that we can just pass a system property.
I won't be around much this weekend, so there is minimum chance of me crashing with you if any of you decide to do anything. However, please make your changes public somewhere so I can pick them up if I feel the urge.
On 25 Nov 2011, at 13:56, Kabir Khan wrote:
> I have pushed Ondrej's work, and here is how to run it for developers (summarized from another mail from a few days ago):
>>
>> mvn clean install
>> -> runs smoke tests as expected
>> --
>>
>> mvn clean install -DallTests
>> -> runs all tests as expected
>> --
>>
>> mvn clean install -DallTests=true
>> -> runs all tests as expected
>> --
>>
>> mvn install -pl testsuite/integration/group-smoke/ -Dtest=org.jboss.as.test.smoke.embedded.demos.client.jms.JmsClientTestCase
>> -> runs the one test as expected
>> (I did -pl testsute/integration/group-smoke on the assumption that we will be moving to modules)
>> --
>>
>> cd testsuite/integration/group-basic
>> mvn install -Dtest=org.jboss.as.test.integration.deployment.classloading.ear.EarClassPath2TestCase
>> -> runs the one test as expected
>> --
>>
>> cd testsuite/integration/group-basic
>> mvn install
>> -> Runs those tests as expected
>> --
>
> There will be some slight changes coming up, such as moving the test classes into individual modules. They currently all live in testsuite/integration/ and are compiled by the individual sub-modules.
> _______________________________________________
> jboss-as7-dev mailing list
> <A HREF="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</A>
> <A HREF="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>