wp-cli/wp-cli — pull request #452 by scribu (2013-05-19 19:08:39+00:00)
Title: Remove temporary files after succesfully running tests

When a test fails, it's useful to be able to dive into the test dir and look at the files directly. But with more and more test scenarios and each test dir taking up north of 14MB, space usage becomes a problem.

An easy win would be to keep around only files for tests that have failed and delete the rest.