Kabir Khan [
http://community.jboss.org/people/kabir.khan%40jboss.com] created the
discussion
"Re: Embedded AS"
To view the discussion, visit:
http://community.jboss.org/message/570167#570167
--------------------------------------------------------------
I've played with a simple runner so I think we can do away with the common/ stuff
This would leave us with assembly/ which can maybe be moved into impl/.
We'd then end up with test/ which would just contain the skeleton test classes:
@RunWith(ModularJunitTestRunner.*class*)
@TestModules({...})
@TestSetup(implClass="__ThrowawayTestImpl", ...)
*public* *class* __ThrowawayTestCase {
//No @Test methods, they are loaded from the Impl class
}
and the real test in impl
public class __ThrowawayTestImpl{
@Test
*public* *void* test1() {
}
@Test
*public* *void* test2() {
}
}
This is better, but can it be made simpler somehow?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/570167#570167]
Start a new discussion in JBoss AS7 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]