summaryrefslogtreecommitdiff
path: root/unit_tests
Commit message (Collapse)AuthorAgeFilesLines
* Mergedkumar2011-07-075-16/+56
|\
| * Fixes Xunit so it represents generator test names correctly (Issue 369)kumar2011-06-171-1/+21
| |
| * case.shortDescription() is more forgiving to __str__ errors (issue 422)kumar2011-05-271-0/+11
| |
| * Merged with attr plugin fixeskumar2011-05-021-2/+4
| |\
| | * Re-enabled the pickling test in multiprocessing since it works. woo!kumar2011-05-021-2/+4
| | |
| * | Overhaul the Attribute Selector plugin to fix the following bugs:Bobby Impollonia2011-05-011-6/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #412 : Attributes don't work on inherited test method Issue #411 : Plugin doesn't work on classes containing static methods Issue #324 : Mixing method and class attributes doesn't work Issue #381 : Plugin doesn't work on classes containing methods with no __dict__ (e.g., from boost.python) Issue #382 : Dupe of #381 with less info * When used as class decorator, attr() was only applying the attributes to methods with names starting with "test_". It would skip, e.g., my_cool_test. * The class decorator form of attr() did not work for test methods inherited from parent classes, nor were the attributes inherited by child classes. They also didn't work for methods added to the class later (e.g., by another decorator). The primary changes are to use getattr/ setattr exlusively rather than direct access to __dict__ and to remove the (unneeded and problematic) wantClass method. Most of the bugs were caused by __dict__ access or wantClass not doing the right thing. In addition to fixing the above bugs, these changes make the plugin smaller and simpler to understand. Add regression tests for fixed bugs. Change assert not plug.wantFunction(h) to assert plug.wantFunction(h) is False where plug.wantFunction only return None or False Refactor duplicated code in functional tests into base class.
| * Skipping pickle test because it gets stuck in an infinite loop (see Issue 399)kumar2011-04-191-0/+1
| |
| * New multiprocessing declares byte values correctly (part of Issue 399)kumar2011-04-182-5/+3
| | | | | | | | Some tests also needed tuning to pass consistently in all versions of Python.
| * Revised multiprocessing so it works for test generators (Issue 399)kumar2011-03-271-4/+8
| | | | | | | | Patch by Rosen Diankov. Note: failing in Python 3, still needs work.
* | Fix up broken unit test.Gary Donovan2011-07-061-1/+1
| |
* | Be able to specify ignoreFiles as a parameter, overriding defaults.Gary Donovan2011-07-062-0/+50
|/
* Attempts to force a binary (string) result in python 3 to fix encoding problemkumar2011-03-271-1/+1
|
* Fixes mishandling of custom exceptions during failures (Issue 405)kumar2011-03-221-1/+25
|
* Fixes capture plugin when exception message contains non-ascii chars (Issue 402)kumar2011-03-211-0/+13
|
* Merged with stable repositorykumar2011-03-201-1/+1
|\
| * Update test URL to one that still resolves.Thomas Kluyver2011-01-141-1/+1
| |
* | Xunit plugin now shows test run time in fractions of a second (#317)kumar2011-03-191-9/+18
| |
* | @attr can now be used as a class decorator (Issue 292)kumar2011-03-191-0/+17
| |
* | Added comment to tests about Issue 395kumar2011-02-021-0/+1
| |
* | Allows non-UTF8 values to be safely written to the XUnit/XML reportkumar2011-02-011-0/+24
|/
* Adds a unicode sanity check to the capture plugin testskumar2010-12-011-0/+8
|
* 3.x fixups: 0/331 failures!Alex Stewart2010-09-012-5/+4
|
* More 3.x fixups (Now down to only 5 of 331 tests not passing)Alex Stewart2010-09-017-27/+64
|
* More Py3 fixups: created setup3lib, added pyversion_patching to build_testsAlex Stewart2010-08-311-0/+8
|
* Initial batch of 3.x fixups. Everything compiles/loads, many self-tests ↵Alex Stewart2010-08-271-0/+4
| | | | work. Still some work to do, though.
* Fixed one failing unit test under py27jpellerin2010-07-071-10/+19
|
* Whitespacejpellerin2010-02-191-2/+2
|
* Added a skip for jythonjpellerin2010-02-191-0/+4
|
* Merged unstablejpellerin2010-02-191-0/+35
|\
| * Applied patch from issue 277: adds better filtering of captured loggingjpellerin2009-12-151-0/+35
| |
* | Updated xunit test for py 2.3 compatibilityjpellerin2010-02-191-1/+6
| |
* | Fixed test failure under 2.4jpellerin2010-02-191-33/+33
| |
* | Merged stablejpellerin2010-02-191-2/+5
|\ \
| * | prevent the xunit XML from containing invalid control charactersPhilip Jenvey2010-01-211-2/+5
| | |
* | | Allow plugins loaded via entry points to override builtin pluginsjpellerin2010-01-191-2/+9
| | |
* | | Merged stablejpellerin2010-01-195-28/+46
|\ \ \ | |/ / |/| |
| * | Improved compatibility with 2.7 builtin skipjpellerin2009-12-021-6/+7
| | |
| * | Fixed some more 2.7 failuresjpellerin2009-10-172-8/+9
| | |
| * | Merged py2.7 fixesjpellerin2009-10-171-0/+30
| |\ \
| * | | Fixed import errors after new unittest module layout in 2.7. Added exit= ↵Kumar McMillan2009-10-153-14/+30
| | | | | | | | | | | | | | | | keyword to TestProgram subclass. Replaced _strclass which was removed from unittest. Adjusted some paths in doctests. TODO: looks like custom test descriptions is broken.
* | | | o mark Skipped tests with <skipped> testcase tags and include the ExceptionPhilip Jenvey2010-01-171-7/+6
| |_|/ |/| | | | | | | | | | | | | | message as the message attribute o remove the xmlsafe implementation for saxutils.quoteattr o simplify the exception traceback XML by making it CDATA
* | | Applied xunit test name fix patch from issue 280. Closes issue 280.jpellerin2009-12-141-23/+23
| |/ |/|
* | Fixed bug where root log handlers were not cleared. For example, this was ↵kumar2009-10-091-0/+30
|/ | | | emitting unwanted messages when testing Google App Engine websites. Logging module, YOU CAN RUN BUT YOU CAN'T HIDE.
* Fixed tests that failed under windows/py25jpellerin2009-09-272-9/+11
|
* Merged stable based branch into tip after pulling from un-stablekumar2009-09-261-0/+62
|\
| * Fixes bug where nose crashes if imported from a zip archive. Specifically, ↵kumar2009-09-241-0/+62
| | | | | | | | uses the proper method to get the contents of nose/usage.txt now.
* | Merged from stableJason Pellerin2009-05-304-0/+44
|\ \ | |/
| * Fixed issue 270: packages dispatched to mp worker were not fully loadedJason Pellerin2009-05-304-0/+44
| |
* | Fixed unpickling, added testJason Pellerin2009-05-211-0/+3
| |
* | Made Config pickle-friendly to enable mp on windowsjpellerin2009-05-141-1/+3
| |