开发者

i am trying to develop a test runner in python

Any pointers ? Suggestions ? Opinions ?

I am thinking here is a draft specification:

  1. Can run individual test methods
  2. Can run a single Test Class
  3. Rsult in XML
  4. Result in HTML
  5. Dry-run
  6. Calculate and display time taken by each test case, and overall time.
  7. Timeout for test cases
  8. TAP type test results
  9. Log Levels
  10. C开发者_开发技巧reate Skeleton test cases
  11. Coverage
  12. Be able to run on a remote host (maybe)
  13. Test Reports
  14. Command line Help (--help)

Now, where do i start ?


Have you seen nose or py.test? Those projects implement a lot of the features that you describe. It might be easier to write an extension for one of those projects rather than starting from scratch.


There's also green. I wrote it after I got frustrated with nose refusing to accept my pull requests to fix bugs, among other reasons.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜