Created
September 17, 2010 15:42
-
-
Save gregturn/584415 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
err = sys.stderr | |
import nose | |
from nose.plugins import Plugin | |
class RegexPicker(Plugin): | |
name = "regexpicker" | |
def __init__(self): | |
Plugin.__init__(self) | |
self.verbose = False | |
def options(self, parser, env): | |
Plugin.options(self, parser, env) | |
err.write("Parsing options...") | |
def configure(self, options, conf): | |
Plugin.configure(self, options, conf) | |
err.write("Configuring options...") | |
def wantMethod(self, method): | |
err.write("Evaluating testing method %s" % method) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment