PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/TODO_0_9

https://bitbucket.org/jpellerin/nose/
#! | 74 lines | 58 code | 16 blank | 0 comment | 0 complexity | 7790e2b421c8554f3b5e53e24cabce50 MD5 | raw file
 1BUGS
 2----
 3
 4split_test_name is detected as a test: rename it
 5
 6
 7Refactor
 8--------
 9 - Make conf passed not global
10 - Use logging for messaging
11 
12 X split out test selection into selector class
13   X use in core
14 X move config to own module
15 X move capture to result module
16   X implement in result
17   - remove from core
18   X use text test result in core
19 X use plugins in core
20   X coverage
21 
22Output capture handling
23-----------------------
24 - Monkeypatch in a new _TextTestResult instead of all of the current chicanery
25
26 
27Assert introspection
28--------------------
29 - use in assertion error only -- only replace that class (replace the
30   reference(s) in unittest as well)
31 - introspect object instances? what about methods (probably not)
32 - fix the 'EOF in multi-line input' bug
33
34
35Error handling
36--------------
37 - exit on error or fail
38 X pdb on error or fail
39
40 
41Path handling
42-------------
43 X importer:
44     (all configurable!)
45     * before attempting import, ensure that the path to the module to
46       be imported is in sys.path;
47     * if the module is a file other than __init__.py in a dir containing an
48       __init__.py, walk up to find the root dir (with no __init__.py) and
49       ensure that directory is in sys.path
50     * after import, walk up package to package root and ensure that the
51       package root is in sys.path
52     * investigate Kumar's load/reload bug
53
54     
55Plugins
56-------
57 - test selector: decide if a dir, module, file, class, or function is a
58   wanted test 
59   X doctest
60 - test collector: given a context (module, directory, or file) return tests
61   X doctest
62 - test watcher: before_all, before_test, after_test, after_all ..
63   X coverage
64   - profile
65
66   
67Utilities
68--------
69@raises(*exc) -- assert func call raises exception
70@timed(under, over, exact) -- assert func execs in under, over, exact time
71
72SkipTest exception ... catch in addError, addSkip instead, print skipped in
73output after failed
74Deprecated too?