(1) Naming conventions:
- nose -
http://nose.readthedocs.org/en/latest/doc_tests/test_issue145/imported_test...- behave -
https://pythonhosted.org/behave/gherkin.html(2) output options: both support jUnit XML, plain text, and colorized text. See their command-line help for details.
(3) Debugging:
- nose - use the "--pdb" or "--pdb-failures" option. Don't forget to add "--nocapture", so you can see what PDB is writing to stdout.
- behave - requires a boilerplate environment hook to get post-mortem PDB launched; it's annoying, but it's the best way, for now.
See:
https://pythonhosted.org/behave/tutorial.html#debug-on-error-in-case-of-ste...(4) Test selection:
- nose - takes test fixtures (files) and names (functions) as command-lne arguments
See:
http://nose.readthedocs.org/en/latest/usage.html#selecting-tests- behave - use the "wip" tag and the "--wip" command-line argument.
See:
https://pythonhosted.org/behave/tutorial.html#controlling-things-with-tags