File: Changes

package info (click to toggle)
libtest-class-perl 0.11-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 284 kB
  • ctags: 47
  • sloc: perl: 1,210; sh: 111; makefile: 39
file content (142 lines) | stat: -rw-r--r-- 5,993 bytes parent folder | download
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
0.11
    -   A belated thank you added to some folk who send in RT bugs and whose
        name I missed off the acknowledgements section
    -   Tweaked link to XUL::Node in SEE ALSO
    -   Changed RT link so it went directly to Test::Class page
    -   An exception in a startup method now causes the rest of the tests in 
        the current test object to be ignored, and no longer gives a bogus 
        warning (reported by Emil Jansson - ta!)
    -   Added COMMUNITY section to POD

0.10
    -   Really fixed the _test_classes by (doh!)
    -   Added :Tests attribute that acts like :Test but defaults to 'no_plan'
        if no test number is given.

0.09
    -   Fixed bug with _test_classes spotted by Corion's cpan smoker
        (see t/test_classes.t)
    -   Added links to tada to do list to TO DO section of POD
    -   Added links modules that use Test::Class to SEE ALSO section of POD
        (thanks to Terrence Brannon for suggesting this)
    
0.08
    -   The undocumented behaviour of C<runtests> has been tweaked and
        documented. You can now run all loaded test classes by doing
        Test::Class->runtests
    -   Removed undocumented autorun method, and replaced with SKIP_CLASS. This
        allows you to prevent test classes being run by runtests.
    -   Removed undocumented class method run_all_tests.
    (thanks to David Wheeler & Ovid for helping define the above behaviour)

0.07
    -   Removed Test::Class::Tutorial & Test::Class::BaseTest since
        they shouldn't have escaped into the wild quite yet. Oops.

0.06
    -   Some cosmetic POD updates

0.06_8
    -   Made tests pass with Test::Simple 0.48
    -   New signature since old one about to be revoked

0.06_7
    -   Added Module::Build support

0.06_6
    -   Fixed bogus test failures under MSWin32

0.06_5
    -   Cleaned up internals
    -   Having a single method be simultaniously a setup and teardown
        method no longer supported
    -   The undocumented add_method method, that you should not have
        been using anyway, disappears

0.06_4
    -   Fixed bogus heading styles in POD
    -   Test names that default to $self->current_method now replace all
        "_" characters with spaces to increase readability
    -   Documented default test name behaviour
    -   D'oh! Fixed MANIFEST so the distribution actually included the 
        new tests for 0.06_3 and 0.06_2

0.06_3
    -   more POD tweaks
    -   all tests now compile with warnings enabled
    -   test name now defaults to $self->current_method

0.06_2
    -   now uses inside out objects so restriction on using -test and 
        _test as hash keys has been removed
    -   tweaked POD of Test::Class
    -   you can now have spaces around test numbers, etc. (bug report
        and patch from David Wheeler)

0.06_1
    -   removed examples directory from distribution, needs rewrite
    -   removed .svn directories from distribution (doh!)
    -   removed Test::Class::Tutorial from distribution - needs rewrite
    -   removed Test::Class::BaseTest - needs rethink
    -   cleaned up Test::Class POD a bit
    -   documented.t now uses Test::Pod::Coverage if available
    -   pod.t now uses Test::Pod if available
    -   private methods now called as functions to avoid problems
        with subclasses accidentally overriding

0.05 (not distributed on CPAN)
    -   fixed MANIFEST and MANIFEST.SKIP
    -   now skips rest of tests in a test method after first failure
        due to an exception.

0.04 (not distributed on CPAN)
    -   refactored mercylessly
    -   Added Test::Class::MethodInfo
    -   Added first draft of Test::Class::Tutorial. Feedback welcome.
    -   rearranged Test::Class POD (hopefully making it clearer!)
    -   dropped total_num_tests, teardown_methods, setup_methods and 
        test_methods from public interface - they were implementation 
        details that shouldn't have been public in first place. If you 
        disagree let me know (with a rationale) and I'll probably add 
        them back :-)
    -   fixed bug where runtests() could blow up if supplied with a
        non-Test::Class
    -   fixed bug where runtests returned whether all tests had passed,
        rather than whether all test run on test object passed
    -   bug with runtests showing duplicate header lines fixed (thanks
        to Michael for adding has_plan() to Test::Builder) 
    -   FAIL_ALL now exits with the # tests failed (or 254 if
        more than 254 tests failed) to match behaviour of Test::Simple
        et al.
    -   An extra exception thrown after all the tests in a method have 
        run now causes a failed test (to better match the behaviour of a 
        die at the end of a normal test script).
    -   Changed diagnostic messages when exceptions occur to show
        method exception occurred in. Makes tracking failure easier.
    -   Added Test::Class::BaseTest - base class for creating a fixture
        and testing it's of the correct class.
    -   Diagnostic messages improved
    -   Plan correctly shown when setup/teardown method without any
        tests throws an exception
    -   TEST_VERBOSE now outputs a newline before the method name which
        makes reading verbose output easier.
    -   Added startup and shutdown methods after suggestion from
        Tony Bowden.
    -   Added run_all_classes and autorun - inspired by comments from 
        Tony Bowden on running multiple Test::Classes easily
    -   Changed runtests so that it will run all of a classes 
        autorunnable sub-classes if called as a class method with no 
        arguments.

0.03  Thu Jun 20
    -   fixed README
    -   fixed tests that broke now Test::Builder (quite rightly) can
        no longer display multiple plans in v0.15
    -   tidied up the code a little.

0.02  Sat Jun 15
    -   released to perl-qa@perl.org

0.01  Fri May 10 22:36:52 2002
    - original version; created by h2xs 1.21 with options
        -AX -n Test::Class