Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django tests dump data/ results

When I run django tests through manage.py test is there a way to output the result to a text file?

like image 430
null Avatar asked Mar 13 '11 11:03

null


1 Answers

on linux, you can do this:

python manage.py test > stdout.txt 2> stderr.txt

to redirect the output to files.

like image 70
Ofri Raviv Avatar answered Sep 17 '22 17:09

Ofri Raviv