Package io.github.cjstehno.testthings.junit
package io.github.cjstehno.testthings.junit
-
ClassDescriptionWhen used with the
LogAppenderExtensionon a test method, it will use theAppenderConfigorConsumer<AppenderConfig>field named in the value property as the configuration for the log appender.When used with theSystemPropertiesExtensionon a test method, it will use thePropertiesorMapobject data as the properties to be injected.When used with theSharedRandomExtensionon a test method, it will inject the specified seed value and use it rather than any other configured value.A JUnit 5 extension used to setup and tear down a database using a providedDataSource.Annotation used by theLifecycleExtensionto annotate methods that should be run by the extension.The test lifecycle extension point identifier.JUnit 5 extension used to provide a bit more control of the before/after lifecycle methods.JUnit 5 extension used to provide and manage theInMemoryLogAppenderfor testing.Annotation used by theDatabaseExtensionto define the setup and teardown SQL scripts.Annotation used by theResourcesExtensionto annotate fields and parameters that should be populated with resource paths or data.A JUnit 5 extension that provides injection of classpath resources based on object type annotated with theResourceannotation - the supported types are as follows:A JUnit test extension used to test randomized scenarios in a way that removes the randomness.A test extension used to update the System properties with a configured set of properties, resetting it back to the original values after each test.