﻿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
18199	A way to have Django apps specific test runners	Miguel Araujo	nobody	"Hi,

I maintain an application named <a href=""https://github.com/maraujop/django-rules"">django-rules</a> that for testing has a an app specific test runner, named `runtests.py`. 

I got <a href=""https://github.com/maraujop/django-rules/issues/10"">this ticket openned</a>. When testing django-rules through the common approach `python manage.py test django_rules` it breaks. This is because running tests this way, Django autodetects my `TestCases` but doesn't use the runner itself, which has some test preparation (custom settings, real models only for testing).

Apparently there is no way to tell Django to use my runner for running tests, and Django doesn't automatically use the runner either. I could probably adapt my test suite to use new `@override_setting` decorator and mock objects. But the behavior I'm testing is very specific and attached to models itself.

What do you think? seems a reasonable use case?

Cheers"	New feature	closed	Testing framework	1.4	Normal	wontfix	tests, testrunner, testing	miguel.araujo.perez@…	Unreviewed	0	0	0	0	0	0
