cubicweb #894060 [tests] less work for tests [resolved]
What if we copied the database file also _after_ the setUp (including setup_database) for tests of the same testcase ? some setup_database take a lot of time. | |
priority | normal |
---|---|
type | enhancement |
done in | 3.12.1 |
load | 1.000 |
load left | 0.000 |
closed by | <not specified> |
similar entities
- cubicweb #847652 re enable testing agains real db
- Building my photos web site with CubicWeb part II: security, testing and migration
- Browser Scope (http://www.browserscope.org)
- Unittesting with CubicWeb
- testing.postgresql - sets up a postgresql instance in a temp directory, and destroys it after testing (https://bitbucket.org/tk0miya/testing.postgresql)
[see all]
Comments
-
2010/05/11 12:53, written by acampeas
-
2011/03/09 09:50, written by pydavid
add commentwhat about an optional class attribute reuse_database ?
A patch implementing a "pre_setup_database" class method is being reviewed.