title: Anyone know how nosetest's -m, -i and -e work?
body: <p>I am trying to get nosetests to identify my tests but it is not running any of my tests properly.</p>
  
  <p>I have the following file structure</p>
  
  <pre><code>Project
      +----Foo/
            +----__init__.py
            +----bar.py
      +----test/
            +----__init__.py
            +----unit/
                  +----__init__.py
                  +----bar_test.py
            +----functional/
                  +----__init__.py
                  +----foo_test.py
  </code></pre>
  
  <p>Within bar_test.py</p>
  
  <pre><code>class BarTest(unittest.TestCase):
       def bar_1_test():
           ...
  </code></pre>
  
  <p>Within foo_test.py</p>
  
  <pre><code>class FooFTest.py
       def foo_1_test():
           ...
  </code></pre>
  
  <p>Using -m, -i, -e options of nosetests</p>
  
  <ul>
  <li>What is the regex I need to run only unit tests (under unit/, tests in class BarTest)</li>
  <li>What is the regex I need run only functional tests (under functional/, tests in class FooFTest)</li>
  </ul>
  
  <p>I've tried various combinations and can't seem to get nosetests to do what I want consistently </p>