blob: 64c4bd368aed5d599b70f37db568dcb072b5c1b3 (
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
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
|
implement assert inspection as plugin
deprecated needs to be added to builtin plug list
fix builtin plugins:
attrib
coverage
prof
isolation
remove plugins:
missing
fix test_loader unittest -- move the mock stuff to another module that it
can import in its setup
* plugin methods to add
before/after Directory
before/after Import
before/after Context [in suite, call with parent]
makeTest
when result prints final result, patch in error classes, eg,
FAILED (todo=10)
or
OK (skipped=2)
** this can only be done in nose test runner
make setup work with & w/out setuptools
BUGS
--exclude doesn't seem to work
MERGE merge trunk -> 0.10 from r9 to pick up trunk changes/fixes
...
REMOVE the context class entirely? is it doing anything that
suite and case.Test shouldn't more properly do?
tests for:
module-level setup skip: skip all
likewise deprecated
likewise error
plugins:
plugin manager class
replace call_plugins with proxied call through plugin manager
how to handle diff cases where plugs may short circuit on first non-None
response or where all non-None responses are taken?
result/result proxy:
SUITES also need to proxy their results
result takes config
implements beforeTest, afterTest
result proxy should be a plugin?
what plugin hook is needed for that?
supporting result proxy in context:
call context.prepareTest() before each test? no
need to have a hook for context (or test case)
to replace/wrap the result
|