Uploaded image for project: 'Apache Onami'
  1. Apache Onami
  2. ONAMI-101

Inject test classes when running a TestSuite (add a OnamiSuite class)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • test-1.4.1
    • test-1.4.1
    • test
    • None

    Description

      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 {

      }

      Attachments

        Activity

          People

            eric@apache.org Eric Charles
            eric@apache.org Eric Charles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: