Yelp/Testify — pull request #292 by telaviv (2014-10-10 00:04:37+00:00)
Title: wrote plugin for importing a module before any test is run.

This is an almost identical copy of a plugin I wrote for pytest. The idea is that if you need the side effects of a module to be run by importing, you simply pass --startup-module and the name file to import. This is really important for things like patching.

Oftentimes you will end up in a situation where patching a module BEFORE it is imported has a different behavior than AFTER you imported it. If you need to guarantee that patching happens BEFORE any test module is imported, then this plugin is the only way to accomplish it.