Eric Charles created ONAMI-101:
----------------------------------
Summary: Inject test classes when running a TestSuite (add a
OnamiSuite class)
Key: ONAMI-101
URL: https://issues.apache.org/jira/browse/ONAMI-101
Project: Apache Onami
Issue Type: Improvement
Components: test
Affects Versions: test-1.4.1
Reporter: Eric Charles
Assignee: Eric Charles
Fix For: test-1.4.1
When we run suite, the test classes are not injected.
We want to support the following construct, where the AuthenticatedStateTest
will be injected (the @GuiceModule can be defined on the suite or on the test
class.
@GuiceModules({ InMemoryMailboxModule.class })
@RunWith(OnamiSuite.class)
@SuiteClasses({ AuthenticatedStateTest.class })
public class InMemoryMailboxTest extends AbstractMailboxTest {
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira