Bug #27379
add check to clear the database at tearDown in testing
Status: | Needs Feedback | Start date: | 2011-06-12 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.0 |
Description
Actually in testing mode the database is cleared completely in static public function tearDownAfterClass() at the end of testing. You dont always want this behaviour, so please add a check in settings to enable this
History
#1 Updated by Karsten Dambekalns almost 4 years ago
- Affected Flow version set to FLOW3 1.0.0
#2 Updated by Christian Müller over 3 years ago
- Status changed from New to Needs Feedback
- Has patch set to No
For me the current behaviour makes sense, as you want a cleanly defined state for the DB in testing. What would be a use-case against that?