summaryrefslogtreecommitdiff
path: root/functional_tests/test_loader.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix #931: duplicate __init__ modules can be picked upJohn Szakmeister2015-10-201-1/+4
| | | | | | | | | | The short form here is that when setting up ignores, you may allow __init__.py to be included unexpectedly. Since we generally use loadTestsFromName(), the package should be imported first which will handle the __init__.py case. Therefore, let's always ignore it in the loadTestsFromDir() method. Just to make sure that we ignore the correct files, we need to run the entry name through src() to make sure we handle the situation correctly on other platforms (like Jython).
* Fix #875: nose doesn't collect tests when subpackage is given as argJohn Szakmeister2015-01-251-3/+56
| | | | | | | | | | | | | | When a subpackage is specified on the command line (e.g., `nosetests foo.bar`), it should pick up all the tests below the subpackage. The root of the problem came from how we resolved a filename for a package. We should really point to the package directory, instead of providing the path to the `__init__.py` file. Otherwise, we only end up attempting to select modules from the `__init__.py` instead of the whole tree underneath. We don't want to check for a path ending in `__init__.py` in `loadTestsFromModule()` because then we select the whole subtree of tests when `foo/bar/__init__.py` is specified when only tests in the __init__.py should be selected.
* Fixed import errors after new unittest module layout in 2.7. Added exit= ↵Kumar McMillan2009-10-151-14/+20
| | | | keyword to TestProgram subclass. Replaced _strclass which was removed from unittest. Adjusted some paths in doctests. TODO: looks like custom test descriptions is broken.
* Fixed issue 269Jason Pellerin2009-07-251-0/+14
|
* Merged 0.10.0-stable [282]:[308] into trunkJason Pellerin2007-08-121-1/+1
|
* Added regression test for issue #3Jason Pellerin2007-06-281-1/+18
|
* Added python 2.4 doctest as nose.ext.dtcompat to enable better doctest ↵Jason Pellerin2007-04-261-2/+3
| | | | support for python 2.3
* Implemented loading from file.py:callable name. Removed debug log features ↵Jason Pellerin2007-04-201-0/+11
| | | | from plugintest -- too complex to implement for this release.
* Additional function tests for mixedSuites suite/loader interaction. Cleaned ↵Jason Pellerin2007-04-161-8/+47
| | | | up debug prints.
* Work in progress on loadTestsFromNames/context suite interactionJason Pellerin2007-04-161-4/+34
|
* Added ContextList helper class. Revised naming -- s/parent/context/ in ↵Jason Pellerin2007-04-161-3/+3
| | | | context suites, cases and loader.
* Work on context suite/factory/loader to make them more compatible and able ↵Jason Pellerin2007-04-151-7/+9
| | | | to run loadTestsFromNames efficiently (nowhere near done)
* Notes and work on fixing design of context fixtures, w/r/t loadTestsFromNamesJason Pellerin2007-04-141-2/+35
|
* Updated TODO. Fixed bugs in unit and functional tests. Changed some attibute ↵Jason Pellerin2007-04-121-4/+7
| | | | names in plugin tester to be more appropriate.
* Fixed loader and result bugs.Jason Pellerin2007-04-081-2/+33
|
* More work on moving output capture to a pluginJason Pellerin2007-04-011-0/+2
|
* Fixed bugs in context handling and loaderJason Pellerin2007-03-241-9/+69
|
* Work in progress on moving more of the context functionality into the ↵Jason Pellerin2007-03-231-24/+17
| | | | context suite/factory
* Work on fixing bugs in context fixture handling when test names are specifiedJason Pellerin2007-03-231-0/+71
|
* Work on integration of resultProxy into suite/case, unit and functional ↵Jason Pellerin2007-03-151-15/+23
| | | | tests, continued removal of context bits
* Extremely broken: half way through removal of context class.Jason Pellerin2007-03-141-2/+7
|
* Further work on integrating result proxying. Just about to start removing ↵Jason Pellerin2007-03-131-3/+42
| | | | the context object.
* Work on result proxying and new plugin manager.Jason Pellerin2007-03-131-2/+2
|
* Fleshed out loader/fixture functional testJason Pellerin2007-03-131-0/+25
|
* Work on suite fixtures/loader function test.Jason Pellerin2007-03-121-2/+16
|
* Work on loader and importer integration.Jason Pellerin2007-03-111-2/+15
|
* Started work on loader functional tests, revising importer interfaceJason Pellerin2007-03-111-0/+34