5 ms·
The Openstack project is a good example of a complex project with complicated testing. Merges are gated on successful test runs of a handful of different tests
by jerdfelt 12y ago
The Openstack project is a good example of a complex project with complicated testing. Merges are gated on successful test runs of a handful of different tests (unit, integration, etc)
An example of complicated mocking can be seen here:
https://github.com/openstack/nova/blob/master/nova/tests/virt/xenapi/test_vmops.py https://github.com/openstack/nova/blob/master/nova/tests/vir...
In particular, SpawnTestCase.
Disclaimer: While I didn't write this example, I am responsible for some of the other mess