|
|
|
|
|
by xyzzy_plugh
2171 days ago
|
|
Yep, this is the pattern I usually use. It's useful to put tests that hit a real DB behind a build flag, for situations where a DB might not be present. Also since I prefer to bake migrations into my application, those get thoroughly tested as well. |
|