[jboss-dev-forums] [IronJacamar Development] - Re: Testsuite -refactoring to make test easier to run

Jesper Pedersen do-not-reply at jboss.com
Mon Nov 29 12:03:04 EST 2010


Jesper Pedersen [http://community.jboss.org/people/jesper.pedersen] created the discussion

"Re: Testsuite -refactoring to make test easier to run"

To view the discussion, visit: http://community.jboss.org/message/573465#573465

--------------------------------------------------------------
> the problem is on kernel startup in embedded that need dependency from embedded binaries

>From what I can tell from the method you need something like:

EmbeddedJCA embedded = new EmbeddedJCA(false);
 
// For all configuration files
embedded.deploy(myConfigurationFile);


to override the configuration used by the container, correct ?
> would be nice to have in Arquillian test case too.

That is why we need a test suite extension of the embedded container -- to externalize the configuration paths.
> but the key for me is the ability for users/contributors to run the test  as Junit test inside eclipse without any special config/dependency  definition for test runner

Yes, the default setup should allow just to use the container/configuration on the class path.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/573465#573465]

Start a new discussion in IronJacamar Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2099]

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


More information about the jboss-dev-forums mailing list