docs
docs copied to clipboard
HOWTO: Train on Python kata locally
Show how to set up local environment to create Python kata or train on them.
AFA running tests locally, is there a way to easily convert this to something more... meaningful to the user?
Or should I just say don't pay attention to these <X::> things?
There's no built-in way to make nice output for languages using a custom test framework.
You can somewhat improve it by piping it to sed or something similar:
$ run-tests | sed 's/^<\(DESCRIBE\|COMPLETEDIN\)::>//;s/^<IT::>/ /;s/^<\(PASSED\|FAILED\|ERROR\)::>/ /'
should make that
Hi
Hi
Test Passed
1 should equal 2
0.07
0.18
Or write some script to do more fancy stuff.