Skip to content

Instantly share code, notes, and snippets.

@barbolani
Last active January 20, 2016 17:59
Show Gist options
  • Save barbolani/e1f1e1d7456f286ff29a to your computer and use it in GitHub Desktop.
Save barbolani/e1f1e1d7456f286ff29a to your computer and use it in GitHub Desktop.
You have executed Django's tests with python manage.py test xxxx >log.txt 2>&1 and want to see in which order they were executed
grep "^test\_.*(.*)" log.txt | awk '{ split($0,a,"(") ; split(a[2],b,")") ; print b[1] }' | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment