Steve Purcell
e00dde2087
Merged in bugfix from PyUnit CVS for problem reported by Gary Todd.
...
If 'unittest.py' was run from the command line with the name of a test
case class as a parameter, it failed with an ugly error. (Which was a
shame, because the documentation says you can do that.)
The problem was the old 'is the class X that you imported from me the same
as my class X?' gotcha.
2001-08-08 07:57:26 +00:00
Steve Purcell
4bc808533f
patch 418489 from Andrew Dalke for string format bug
2001-05-10 01:28:40 +00:00
Steve Purcell
ab0648ffc0
- Typo in message for TestCase.failIfEqual()
...
- Removed unused variable 'opts' in TestProgram.__init__ (thanks to PyChecker)
2001-04-15 09:18:32 +00:00
Tim Peters
613b2222cf
Whitespace normalization.
2001-04-13 05:37:27 +00:00
Steve Purcell
15d8927f7e
- New fail*() methods, and comprehensive set of assert*() synonyms
...
- TestCase.failureException defines the exception that indicates a test failure
- Docstrings for TestLoader class
- Added exc_info() hack back in
2001-04-12 09:05:01 +00:00
Steve Purcell
17a781bc69
* Remove exc_info() kludge -- it actually messed up the Jython output
...
* Fixed TestLoader.loadTestsFromName() for nested packages
* Corrected the command-line usage summary
2001-04-09 15:37:31 +00:00
Tim Peters
a19a168ccc
Whitespace normalization.
2001-03-29 04:36:09 +00:00
Steve Purcell
5ddd1a8dcb
Updated to latest PyUnit version (1.31 in PyUnit CVS); test_support.py
...
changed accordingly.
2001-03-22 08:45:36 +00:00
Fred Drake
02538200b3
The unittest module from PyUNIT, by Steve Purcell.
2001-03-21 18:09:46 +00:00