[jboss-dev-forums] [JBoss AS7 Development] - Re: Embedded AS

Kabir Khan do-not-reply at jboss.com
Mon Nov 8 19:11:59 EST 2010


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101108/1fb620f5/attachment.html 


More information about the jboss-dev-forums mailing list