﻿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
30245	Run tests matching a filter (Python 3.7 -k option)	François Freitag	François Freitag	"With Python 3.7, the `unittest` module got a `-k` option (as in keyword), to run tests matching a given keyword. Corresponding entry in the [https://docs.python.org/3.7/whatsnew/3.7.html#unittest Python 3.7 unittest release note entry]. Associated python issue: https://bugs.python.org/issue32071.

The feature seems to be coming from the `py.test` project feature [https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests running tests by keyword expression]. The feature is also available in other testing frameworks, such as `PHPUnit`'s [https://phpunit.de/manual/6.5/en/textui.html --filter] option.

Adding a similar feature to Django would facilitate test selection. Since `-k` is already the short-hand for `--keepdb`, it may make more sense to implement another flag, maybe `--filter`?"	New feature	closed	Testing framework	dev	Normal	fixed	test,unittest,filter		Ready for checkin	1	0	0	0	0	0
