You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version represents a MAJOR change to the API and design of this library.
13
+
You will NOT be able to simply upgrade to this version and keep everything working.
14
+
It is HIGHLY recommended that you review the README for this version, which discusses
15
+
the new design and how to get started.
16
+
17
+
### Added
18
+
19
+
- Created a new `Cspray\DatabaseTestin\DatabaseCleanup\CleanupStrategy` interface to allow more thorough control over how your database is prepared for tests.
20
+
- Implemented a thorough "truncate tables" strategy, in addition to the existing "transaction with rollback".
21
+
22
+
### Changed
23
+
24
+
- Renamed the namespace from `Cspray\DatabaseTestCase` to `Cspray\DatabaseTesting`.
25
+
- Updated the `ConnectionAdapter` interface to be more feature complete, to allow interacting with the database without assumption to the connection type.
26
+
27
+
### Removed
28
+
29
+
- All concrete `ConnectionAdapter` have been removed. Adapter-specific library will be provided and should be used instead.
30
+
- The PHPUnit-supported `DatabaseTestCase` has been removed. Testing framework-specific library will be provided and should be used instead.
0 commit comments