testing

Testing tools, testing philosophy & methodology...
2017-09-26T17:36:37.000573Z

is there a tool that stops clojure.test on the first failure? of course I can just run the specific test, but it would be kind of cool to just run all of them, then stop on the first failed assertion

2017-09-26T18:03:23.000598Z

workaround - running this before running tests

warn () {
  RED='\033[0;31m'
  NC='\033[0m'
  printf ${RED}${*}${NC}
}

barrier () {
  warn ';;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;'
}
the barrier function makes it easy to look up and see the first failure, even if I’m running the tests repeatedly