Is there something like 'autotest' for Python unittests?

后端 未结 11 1443
有刺的猬
有刺的猬 2020-12-23 11:28

Basically, growl notifications (or other callbacks) when tests break or pass. Does anything like this exist?

If not, it should be pretty easy to wri

11条回答
  •  我在风中等你
    2020-12-23 11:53

    autonose created by gfxmonk:

    Autonose is an autotest-like tool for python, using the excellent nosetest library.

    autotest tracks filesystem changes and automatically re-run any changed tests or dependencies whenever a file is added, removed or updated. A file counts as changed if it has iself been modified, or if any file it imports has changed.

    ...

    Autonose currently has a native GUI for OSX and GTK. If neither of those are available to you, you can instead run the console version (with the --console option).

提交回复
热议问题