Interface | Description |
---|---|
TemporaryDatabase | |
TemporaryDatabaseAware<T extends TemporaryDatabase> |
This marker interface is used to denote classes where the
TemporaryDatabase instance created by TemporaryDatabaseExecutionListener
can be reinjected. |
Class | Description |
---|---|
MockDatabase |
This class provides additional utility methods on top of the basic
TemporaryDatabasePostgreSQL
class. |
PopulatedTemporaryDatabaseITCase | Deprecated
Use an annotation-based temporary database with
JUnitTemporaryDatabase and autowire a
DatabasePopulator to insert a standard set of content into the database. |
TemporaryDatabaseExecutionListener |
This
TestExecutionListener creates a temporary database and then
registers it as the default datasource inside DataSourceFactory by
using DataSourceFactory.setInstance(DataSource) . |
TemporaryDatabaseHsqldb | |
TemporaryDatabaseITCase |
For each unit test method, creates a temporary database before the unit
test is run and destroys the database after each test (optionally leaving
around the test database, either always or on a test failure).
|
TemporaryDatabasePostgreSQL |
Exception | Description |
---|---|
TemporaryDatabaseException | |
TemporaryDatabaseITCase.TestFailureAndTearDownErrorException |
Represents a failure both in a unit test method (e.g.: testFoo) and
in the tearDown method.
|
Copyright © 2020. All rights reserved.