jboss - Java EE integration test with Spock -


i have jboss + java ee application. run integration test against using spock.

so claim it's possible run tests after context started:

public class examplecontextlistener implements servletcontextlistener {     @override     public void contextinitialized(servletcontextevent servletcontextevent) {         // run spock     }  } 

please, correct me if wrong. point me example.

your question broad , cannot covered here. have lot of reading ahead

first take @ arquillian

http://arquillian.org/

then @ spock extension

https://github.com/arquillian/arquillian-testrunner-spock


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -