[jboss-user] [JBoss Seam] - Slow integration testing suite based on SeamTest - improveme

andreigh.ts do-not-reply at jboss.com
Thu May 24 07:47:41 EDT 2007


As the framework is designed right now,  the embedded server starts for each testing class that extends SeamTest (basically every class that has integration tests using FacesRequest). This is done via SeamTest.init() which is annotated with @Configuration(beforeTestClass=true).

Starting the server is slow, compared to the duration of the actual test methods, so as the testing suite grows, the developer is encouraged not to run the whole testing suite, which is bad.

Is there any reason why the server needs to be started for each test class? What would possibly go wrong if server startup (SeamTest.init()) is done only once for all the tests in the suite?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048226#4048226

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048226



More information about the jboss-user mailing list