pytest testmon - executing large test suites quickly

Post on 08-Aug-2015

62 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Executing large test suites quickly

Tibor Arpastibor@infinit.sk

Your experience with tests

Users hate waiting

● 100 milliseconds● 1 second● 10 seconds

So computing adapts

● big improvements in recent years

● 10 seconds

Vision● instant test results● not feasible yet

But…● how about running just

affected tests?

So it’s useless to call those tests● slow● inefficient

Transforming this idea into a tool● it’s pytest plugin called

testmon

Example “project” with a test suite in one file

Dependencies

Dependencies

Here you come in

● try● talk● share● fork

github.com/tarpas/testmon

Contacts

Tibor Arpas• pypi.python.org/pypi/testmon• github.com/tarpas/testmon• tibor@infinit.sk

top related