JBoss Community

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

created by jaikiran pai in Beginner's Corner - View the full discussion

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 . 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

Start a new discussion in Beginner's Corner at Community