[jboss-user] [Beginner's Corner] - Re: getting started unit testing - embedded JBoss AS 7?

jaikiran pai do-not-reply at jboss.com
Thu Jun 7 21:44:00 EDT 2012


jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: getting started unit testing - embedded JBoss AS 7?"

To view the discussion, visit: https://community.jboss.org/message/740566#740566

--------------------------------------------------------------
> Matthew Cornell wrote:
> 
> Thanks for the pointer, jaikiran. I did some research and it looks like Arquillian does not support the embedded container for JBoss 7.1 -  https://community.jboss.org/message/717500#717500 https://community.jboss.org/message/717500 . That makes me wonder whether the project is active...
Is there a reason why you want that "embedded" project? Arquillian has the ability to start/stop the server on it's own when you run your JUnit tests. You don't have to write a single line of code (except for adding a Maven dependency in your pom.xml) for managing the server. This is known as the "managed" server mode in Arquillian. There's also a "remote" server mode where Arquillian will auto connect to an already running server instance (which you might have started in whatever way you want) and run the JUnit tests for you. And this isn't specific to JBoss AS server, Arquillian can do the same with any other server too.
--------------------------------------------------------------

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

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120607/1eb0da22/attachment.html 


More information about the jboss-user mailing list