deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Kaltepoth <christ...@kaltepoth.de>
Subject Re: Question on integration test structure
Date Thu, 26 Jan 2012 18:33:53 GMT
Done!

https://issues.apache.org/jira/browse/DELTASPIKE-63

Christian

2012/1/26 Mark Struberg <struberg@yahoo.de>:
> yes, that should be the case (OWB and Weld only invoking the SE tests).
> If not, then please file a Jira and we gonna work on it.
>
> txs and LieGrue,
> strub
>
>
>
> ----- Original Message -----
>> From: Christian Kaltepoth <christian@kaltepoth.de>
>> To: deltaspike-dev@incubator.apache.org
>> Cc:
>> Sent: Thursday, January 26, 2012 5:35 PM
>> Subject: Question on integration test structure
>>
>> Hi @ all,
>>
>> I just started to work on adding some more integration tests for the
>> features that have been implemented up till now.
>>
>> But I'm a bit confused on how the integration tests are organized.
>> Most tests have been added directly to the core-impl module and are
>> executed there using either OWB or Weld. After that the
>> integration-test module unpacks the tests of core-impl and executed
>> them again. Beside OWB and Weld the integration-test module contains
>> profiles for AS7 and Glassfish which execute only the JUnit categories
>> SE, WebProfile and FullProfile.
>>
>> The problem seems to be that the OWB and Weld profiles completely
>> ignore the JUnit categories and execute everything. So tests annotated
>> with @WebProfile also get executed and fail.
>>
>> I think the OWB and Weld profiles need to be configured to execute
>> only the @SeCategory tests. But this would require to add this
>> annotation to most of the existing tests which is not very nice (but
>> required?).
>>
>> And thoughts on this?
>>
>> Christian
>>
>> --
>> Christian Kaltepoth
>> Blog: http://chkal.blogspot.com/
>> Twitter: http://twitter.com/chkal
>>



-- 
Christian Kaltepoth
Blog: http://chkal.blogspot.com/
Twitter: http://twitter.com/chkal

Mime
View raw message