--noinput, --no-input | Tells Django to NOT prompt the user for input of any kind |
--failfast | Tells Django to stop running the test suite after first failed test |
--testrunner <TESTRUNNER> | Tells Django to use specified test runner class instead of the one specified by the TEST_RUNNER setting |
-t, --top-level-directory <TOP_LEVEL> | Top level of project for unittest discovery |
-p, --pattern <PATTERN> | The test matching pattern. Defaults to test*.py |
--keepdb | Preserves the test DB between runs |
-r, --reverse | Reverses test cases order |
--debug-mode | Sets settings.DEBUG to True |
-d, --debug-sql | Prints logged SQL queries on failure |
--parallel <[N]> | Run tests using up to N parallel processes |
--tag <TAGS> | Run only tests with the specified tag. Can be used multiple times |
--exclude-tag <EXCLUDE_TAGS> | Do not run tests with the specified tag. Can be used multiple times |
--pdb | Runs a debugger (pdb, or ipdb if installed) on error or failure |
-b, --buffer | Discard output from passing tests |
-k <TEST_NAME_PATTERNS> | Only run test methods and classes that match the pattern or substring. Can be used multiple times. Same as unittest -k option |
-h, --help | Show this help message and exit |
--version | Show program's version number and exit |
-v, --verbosity <{0,1,2,3}> | Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output |
--settings <SETTINGS> | The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used |
--pythonpath <PYTHONPATH> | A directory to add to the Python path, e.g. "/home/djangoprojects/myproject" |
--traceback | Raise on CommandError exceptions |
--no-color | Don't colorize the command output |
--force-color | Force colorization of the command output |