-
Task
-
Resolution: Done
-
Major
-
None
-
None
Too much of the Arquillian core responsibility is handed out to the Test Framework integration code. Redesign to a more event/lifecycle based integration.
The DeployableTestBuilder should return a appropriate impl depending on in container or not.
public interface DeployableTestRunner { public void beforeSuite() throws LifecycleException public void afterSuite() throws LifecycleException public void beforeClass(Class<?> testClass) throws DeploymentException public void afterClasss(Class<?> testClass) throws DeploymentException public void before(Class<?> testClass, Method testMethod) public void after(Class<?> testClass, Method testMethod) public TestResult test(TestMethodExecutor testMethodExecutor) }