/TODO_0_9

https://bitbucket.org/jpellerin/nose/ · #! · 74 lines · 58 code · 16 blank · 0 comment · 0 complexity · 7790e2b421c8554f3b5e53e24cabce50 MD5 · raw file

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