This demonstrates a multi-module Maven setup of a core framework and plugins.
| Module | Description |
|---|---|
| example | A test project using the framework and both plugins. |
| plugin1 | A plugin for the core framework that reacts to OnTestSuiteStarted. |
| plugin2 | Another plugin for the core framework that reacts to OnTestSuiteStarted and OnTestSuiteEnded. |
| plugin-interfaces | The project containing only the plugin interfaces. |
| test-framework | The core test framework |
The example directory contains a test project using the framework and both plugins, simulating a test suite run.
To run the example, execute the following commands in the root directory:
./mvnw clean install
cd example
./../mvnw exec:java -Dexec.mainClass=com.spidemo.example.Example
Alternatively, you can run the example's main method from your IDE.