5 ms·
Aside from testing framework concurrency limitations, why wouldn't you allow parallel tests? If your running system speaks to the DB in parallel and handles pr
by jschrf 5y ago
Aside from testing framework concurrency limitations, why wouldn't you allow parallel tests?
If your running system speaks to the DB in parallel and handles pre-existing data, why wouldn't you want your tests to do the same?
- quambene 5y agoThat's a good point. I'm using one local db in a docker container. And then all db-related integration tests are running in parallel (which is the default in Rust via "cargo test") on this local db. Having much more confidence in my application/server if hundreds of (integration) tests are successfully accessing db in parallel.