Package io.github.cjstehno.testthings.junit
package io.github.cjstehno.testthings.junit
-
ClassDescriptionWhen used with the
LogAppenderExtension
on a test method, it will use theAppenderConfig
orConsumer<AppenderConfig>
field named in the value property as the configuration for the log appender.When used with theSystemPropertiesExtension
on a test method, it will use theProperties
orMap
object data as the properties to be injected.When used with theSharedRandomExtension
on 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 theLifecycleExtension
to 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 theInMemoryLogAppender
for testing.Annotation used by theDatabaseExtension
to define the setup and teardown SQL scripts.Annotation used by theResourcesExtension
to 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 theResource
annotation - 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.