summaryrefslogtreecommitdiff
path: root/PLUGIN_API_CHANGES.txt
blob: d279129c4e0b74188fccf7cef8565ee362ad8a90 (plain)
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
Changes:

* Use options() instead of add_options()

* addSkip() and addDeprecated() will not be called
  - varied error classes, no more hard-coded error handlers
  - check for error classes in addError instead

* addError() and addFailure() will not get capt or tb_info arguments
  - these values are accessible in the test, if present.

* wantFile()
  - optional package argument is never passed

New methods available:

* afterTest

* beforeTest

* describeTest

* formatError

* formatFailure

* handleError

* handleFailure

* prepareTestLoader

* prepareTestResult

* prepareTestRunner

* testName