aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
Commit message (Collapse)AuthorAgeFilesLines
* Always use Python 3 version of mapJason R. Coombs2016-01-161-0/+1
|
* Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-311-6/+1
| | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-311-1/+6
| | | | | --HG-- branch : feature/issue-229
* Merge with master. Ref #229.Jason R. Coombs2015-12-311-20/+39
|\ | | | | | | | | --HG-- branch : feature/issue-229
| * Make test.test_args a non-data property per Pull Request #155.Jason R. Coombs2015-11-271-1/+12
| |
| * Remove unreachable branch.Jason R. Coombs2015-10-101-7/+6
| |
| * Always execute tests, even if no test_suite is supplied. Fixes #446.Jason R. Coombs2015-10-101-1/+1
| |
| * Accept a pattern argument, supplied by later versions of unittest.Jason R. Coombs2015-10-101-1/+1
| |
| * Only include test_suite in args if one is specified. Ref #446.Jason R. Coombs2015-10-101-2/+7
| |
| * Re-use _argv for the announcementJason R. Coombs2015-10-101-3/+3
| |
| * Extract _argv property.Jason R. Coombs2015-10-101-1/+5
| |
| * Just pass 'unittest' as argv[0] - the full path to the file shouldn't be ↵Jason R. Coombs2015-10-101-2/+1
| | | | | | | | relevant
| * Resolve test_suite directly rather than referencing test_argsJason R. Coombs2015-10-101-1/+1
| |
| * Extract variable for nicer indentationJason R. Coombs2015-10-101-3/+2
| |
| * Move value checking into its own block.Jason R. Coombs2015-10-101-4/+5
| |
| * Calculate test_args on demand rather than setting an attribute.Jason R. Coombs2015-10-101-4/+5
| |
| * Add EntryPoint.resolve and deprecate most usage of EntryPoint.load. Removed ↵11.3Jason R. Coombs2015-01-051-1/+1
| | | | | | | | EntryPoint._load.
* | Merge with 10.2.1Jason R. Coombs2015-01-021-1/+1
|\| | | | | | | | | --HG-- branch : feature/issue-229
| * Use underlying invocation of ._load directlyJason R. Coombs2014-12-311-1/+1
| |
* | Use six for Python 2 compatibilityJason R. Coombs2014-07-051-3/+4
|/ | | | | | --HG-- branch : feature/issue-229 extra : source : 7b1997ececc5772798ce33a0f8e77387cb55a977
* Remove doctests module. It is now part of Python.Jason R. Coombs2014-07-051-2/+1
|
* Fixed PEP 8 compliancy of the setuptools.command packageAlex Grönholm2014-06-181-17/+15
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-5/+4
|
* Wrap unittest.main in a compatibility wrapper for Python 3.1 compatibility. ↵3.4.2Jason R. Coombs2014-04-061-4/+7
| | | | Fixes #183
* Extract the resolution of loader/runner classes. Allows None value to ↵Jason R. Coombs2014-03-301-6/+13
| | | | pass-through to unittest.main. Fixes #180.
* Reformat to add the conventional whitespace and shorter lines.Jason R. Coombs2014-03-301-11/+13
|
* Apply patch based on patch in 2008 by Klaus Zimmerman. Fixes #176.Jason R. Coombs2014-03-281-2/+8
|
* Remove import *Jason R. Coombs2014-02-091-2/+3
|
* Remove unused import and excess whitespace.Jason R. Coombs2014-02-091-39/+1
|
* Misc. updates following 2to3 checks.Vinay Sajip2013-06-171-1/+1
| | | | | --HG-- branch : single-codebase
* Purge modules under test from sys.modules prior to running tests. Fixes #301.Stefan H. Holek2012-10-081-0/+17
| | | | | | --HG-- branch : distribute extra : rebase_source : 87561670c15ec8315f47157cdc0c06328ce8c20f
* Issue #306: Even if 2to3 is used, we build in-place under Python 2.Lennart Regebro2012-08-221-1/+1
| | | | | | --HG-- branch : distribute extra : rebase_source : db4a1a3059533ad0c894f12c31e3fe1c238f4292
* Add failing test for #301.Lennart Regebro2012-08-211-1/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 2972e762cdab88e90c1c8b9b9a336afc641e996f
* Name changes of the parameters.Lennart Regebro2009-09-221-2/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : fc921b526cda13b02a4bb0215f91ee04d03dca57
* Works with zope.interface now.Lennart Regebro2009-09-181-6/+22
| | | | | | --HG-- branch : distribute extra : rebase_source : c8cd9fd837bbac96c8949f0015d84051bd8ab5c7
* Fix interactions between the various "require" options,PJ Eby2008-01-191-2/+2
| | | | | | | | | | so that downloads aren't repeated and needed eggs are always installed, even if they were downloaded to the setup directory already. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4060066
* Fix problem activating dependencies for tests (backport from trunk)PJ Eby2007-03-021-1/+1
| | | | | | --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4054072
* Fix ``test`` command possibly failing if an older version of the projectPJ Eby2007-02-241-12/+53
| | | | | | | | | being tested was installed on ``sys.path`` ahead of the test source directory. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053896
* Added ``test_loader`` keyword to support custom test loaders.PJ Eby2006-03-291-10/+10
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043430
* Fix a problem with the test loader finding the bundled doctest'sPJ Eby2006-03-291-4/+4
| | | | | | | | TestCase subclasses and trying to run them, too. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043425
* Enhanced test loader to scan packages as well as modules, and callPJ Eby2006-03-281-4/+45
| | | | | | | | ``additional_tests()`` if present to get non-unittest tests. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4043412
* Added ``tests_require`` keyword to ``setup()``, so that e.g. packagesPJ Eby2005-11-191-4/+4
| | | | | | | | | requiring ``nose`` to run unit tests can make this dependency optional unless the ``test`` command is run. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041483
* Make 'test' command work correctly with the 0.6 WorkingSet class.PJ Eby2005-07-211-12/+12
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041140
* Added ``develop`` command to ``setuptools``-based packages. This commandPJ Eby2005-07-061-2/+2
| | | | | | | | | | | | installs an ``.egg-link`` pointing to the package's source directory, and script wrappers that ``execfile()`` the source versions of the package's scripts. This lets you put your development checkout(s) on sys.path without having to actually install them. (To uninstall the link, use use ``setup.py develop --uninstall``.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041080
* Enhanced the ``test`` command so that it doesn't install the package, butPJ Eby2005-07-061-22/+22
| | | | | | | | | | | | | instead builds any C extensions in-place, updates the ``.egg-info`` metadata, adds the source directory to ``sys.path``, and runs the tests directly on the source. This avoids an "unmanaged" installation of the package to ``site-packages`` or elsewhere. (Also, fix a breaking test of older dependency support; this should probably be removed altogether, as long as nobody's using it.) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041078
* Initial checkin of setuptools 0.0.1.PJ Eby2004-03-191-0/+82
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869