-
Feature Request
-
Resolution: Unresolved
-
Major
-
1.0.0.Final
-
None
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.