nose-devs/nose2 — pull request #3 by jpellerin (2011-12-27 21:46:54+00:00)
Title: Basic config file loading and command line option support

This diff adds basic config file and command line option support to nose2, framed by a test program class that doesn't yet do anything. The command line options and config file stuff mimic what the unittest2 plugins branch does, mostly, except that I am choosing to use argparse for command line parsing as it is much less painful to use than optparse.

The main bits are in the options and config modules. Also included are a bunch of new tests, which pass -- the old plugin tests don't, yet, and won't until more of the plugin infrastructure is in place. The intent is that they eventually should pass with minimal changes (for instance, replacing unittest2 plugin class imports with nose2 plugin class imports).