Redesign the test framework adaptor
-----------------------------------
Key: ARQ-69
URL:
https://jira.jboss.org/jira/browse/ARQ-69
Project: Arquillian
Issue Type: Task
Components: Core, Documentation, JUnit, TestNG
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
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.
{code}
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)
}
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira