File: CHANGES

package info (click to toggle)
python-unit 1.4.1-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 324 kB
  • ctags: 232
  • sloc: python: 844; sh: 84; makefile: 67
file content (80 lines) | stat: -rw-r--r-- 3,060 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
CHANGE LOG FOR PYUNIT
=====================

Changes from 1.4.0 to 1.4.1
---------------------------

- corrected version number in distutils 'setup.py'
- fixed an incorrect code example in cookbook document
- fixed bug when running 'unittest.py' from the command line in order
  to execute tests in other modules (thanks to Gary Todd)

Changes from 1.3.1 to 1.4.0
---------------------------

- main() runs all tests in the module __main__ by default
- New code allows all test case in a given module to be located and
  instantiated
- Simplified command line syntax
- Made TextTestRunner configurable with verbose and quiet options, and
  consequently removed obsoleted JUnitTextTestRunner
- Test instantiation code now localised in a replaceable TestLoader class
- 'setup.py' contributed by Bill Bumgarner
- TestResult.addSuccess() method added (thanks to Frederic Corne)
- Stop overridden test methods being run twice (thanks to Brian Zimmer
  and Maas-Marten Zeeman)
- Don't expand GUI's progress bar vertically when resizing (Fred Drake)
- Updated documentation

Changes from 1.3.0 to 1.3.1
---------------------------

* 'debug' methods added to allow running tests without silently collecting
  exceptions (thanks to Jim Fulton)
* Bugfix for JUnitTextTestRunner (thanks to Fred Drake)

Changes from 1.2.0 to 1.3.0
---------------------------

* Clearer and more verbose text output format
* Tests run in text mode can now be interrupted using ctrl-c
* New FunctionTestCase class provides support for wrapping legacy test
  functions into PyUnit test case instances
* Code is now compatible with JPython (new example: examples/withjpython.py)
* Support for short descriptions of tests, taken from __doc__ strings
  by default
* Updated and expanded documentation
* Tested with Python 2
* Changed module reloading mechanism in GUI test runner to fix a problem
  with Python 2 on Win32 reported by Henrik Weber (bug 125463)
* Convenient new unittest.main() function for use by all test modules

Changes from 1.1.0 to 1.2.0
---------------------------

* Added TK-based GUI: unittestgui.py
* Updated documentation and doc strings
* Fixed minor bug 106912: test cases not sorted correctly.  Thanks
  to Frederic Giacometti for spotting.
* Check that imported test names are callable() objects
* New example 'manytests.py'; large number of small dummy tests

Changes from 1.0.1 to 1.1.0
---------------------------

* Changed 'makeSuite' so that test cases functions in base classes of the
  given test case class are also found. This allows re-use of test code with
  different set-up code. See 'listtests' example. (Thanks to Lars Marius
  Garshol.)
* Added sorting functionality to 'makeSuite' function. (Suggested by Kevin
  Butler)
* Changes to documentation (clarifications, notes about new functionality)
* Added 'assertRaises' method to TestCase
* Added 'fail' method to TestCase
* Added this CHANGES file to distribution
* Added 'listtests.py' and 'alltests.py' examples

Changes from 1.0 to 1.0.1
---------------------------

* Move to SourceForge