Describes a database against which you can run TestKit tests. It includes features such as reading the configuration file, setting up a DB connection, removing DB files left over by a test run, etc.
Attributes
- Companion
- object
- Source
- TestDB.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait RelationalTestDBtrait SqlTestDBclass JdbcTestDBclass ExternalJdbcTestDBclass SQLServerDBclass InternalJdbcTestDBclass DerbyDBclass H2TestDBclass HsqlDBclass SQLiteTestDBShow all
Members list
Type members
Types
Attributes
- Source
- TestDB.scala
Value members
Abstract methods
Create the Database object for this test database configuration
This method is called between individual test methods to remove all database artifacts that were created by the test.
This method is called between individual test methods to remove all database artifacts that were created by the test.
Attributes
- Source
- TestDB.scala
Concrete methods
The capabilities of the Slick profile, possibly modified for this test configuration.
The capabilities of the Slick profile, possibly modified for this test configuration.
Attributes
- Source
- TestDB.scala
This method is called to clean up after running all tests. It defaults to cleanUpBefore().
This method is called to clean up after running all tests. It defaults to cleanUpBefore().
Attributes
- Source
- TestDB.scala
This method is called to clean up before running all tests.
Attributes
- Source
- TestDB.scala
Attributes
- Source
- TestDB.scala
Attributes
- Source
- TestDB.scala
Check if this test database is enabled
Indicates whether the database persists after closing the last connection
Indicates whether the database persists after closing the last connection
Attributes
- Source
- TestDB.scala
Indicates whether the database's sessions have shared state. When a database is shared but not persistent, Testkit keeps a session open to make it persistent.
Indicates whether the database's sessions have shared state. When a database is shared but not persistent, Testkit keeps a session open to make it persistent.
Attributes
- Source
- TestDB.scala
The tests to run for this configuration.
Abstract fields
The test database name
The profile for the database
Concrete fields
The test configuration