﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32591	"Change DiscoverRunner always to run _FailedTest ""tests"" first"	Chris Jerdonek	Chris Jerdonek	"Currently, `DiscoverRunner`'s default test order is to run `_FailedTest` objects in a last ""catch-all"" test-type group, and to order them in no particular way within that last group.  Since Django already knows those tests have failed, it seems like it would be better for the user if Django always ran / reported those failed tests first. That would give the user quicker feedback. Also, when `--failfast` is used, it would result in tests failing faster (namely right away), instead of possibly waiting for many tests to complete before getting to the `_FailedTest`.

This could be implemented by changing [https://github.com/django/django/blob/f5a22442176878d07e80ae5ba0af1dd8d6910fbd/django/test/runner.py#L813 reorder_tests()] to prepend its list of classes with a bin for `_FailedTest` objects.
"	Cleanup/optimization	closed	Testing framework	dev	Normal	fixed	DiscoverRunner,_FailedTest		Accepted	1	0	0	0	0	0
