Mix Test Output Part Two

`This is how I fixed the tests over an umbrella project problem:

  mix test | tee test-logs.log
  echo "=== Unit Test Summary ==="
  grep "==>\| failure\|are no tests" test-logs.log
  rm test-logs.log

This way the last thing in the log file on the build server is a summary of the above tests.
It may include some false positives if you are logging too much, but it does include what is needed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s