Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .run/mvn clean test - without nightly.run.xml

This file was deleted.

15 changes: 15 additions & 0 deletions .run/test.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="test" type="JUnit" factoryName="JUnit">
<module name="sirius-kernel" />
<option name="PACKAGE_NAME" value="" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="tags" />
<option name="VM_PARAMETERS" value="-ea -Dtest.excluded.groups=nightly" />
<option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
<tag value="!nightly" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ a single test (method) - the tests have to function independently of their surro
has to either succeed in all three scenarios or it must fail each time. Everything else indicates an invalid test
setup._

Tests which require a running SIRIUS framework should use [`SiriusExtension`](src/test/java/sirius/kernel/SiriusExtension.java).

For testing, we heavily rely on **Docker** (especially when external systems like databases are required).
SIRIUS has a build-in helper to start and stop **docker-compose** setups.
See [DockerHelper](src/main/java/sirius/kernel/DockerHelper.java) for a list of supported configuration
settings or refer the [test setup](https://github.com/scireum/sirius-db/tree/main/src/test/resources)
of [sirius-db](https://github.com/scireum/sirius-db) and its
[TestSuite](https://github.com/scireum/sirius-db/blob/main/src/test/java/TestSuite.java) as an elaborate example.
settings or refer the [test setup](https://github.com/scireum/sirius-db/tree/main/src/test/resources) of [sirius-db](https://github.com/scireum/sirius-db) as an elaborate example.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.scireum</groupId>
<artifactId>sirius-parent</artifactId>
<version>14.3.3</version>
<version>15.0.0</version>
</parent>
<artifactId>sirius-kernel</artifactId>
<name>SIRIUS kernel</name>
Expand Down
34 changes: 0 additions & 34 deletions src/test/java/sirius/kernel/BaseSpecification.groovy

This file was deleted.

58 changes: 0 additions & 58 deletions src/test/java/sirius/kernel/Scenario.java

This file was deleted.

234 changes: 0 additions & 234 deletions src/test/java/sirius/kernel/ScenarioSuite.java

This file was deleted.

Loading