Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-880

Allow extensions create new child tests with dynamic nature

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • 2.0.0.CR1
    • 1.0.0.Final
    • Base Implementation
    • None

    Description

      There are situations where it's convenient to load the tests into the current suite dynamically.

      You can then reuse the test framework specific integration tools like IDE integration, reporters and continuous integration

      to run the test logic even outside the Java ecosystem.


      Test frameworks doesn't have any generic integration points for this job.

      To allow Arquillian extension writers having as easy job as possible,
      SPI should be designed which would allow to register new tests in framework-specific test runners.


      SPI Proposal:

      Arquillian fires LocateChildren event to allow extension populate suite with "dynamic" tests.

      LocateChildren event can be populated with ChildTestClass (having many ChildTestMethod).

      Arquillian fires TestChild to allow extension invoke the use-case-specific test logic for each registered ChildTestMethod.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: