﻿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
33213	Document coverage setup for parallel tests	Mr. Glass	Paolo Melchiorre	"Ticket #31431 requested django implement support coverage for parallel tests. It was marked as wontfix, citing #4501 where a decision was made to document how to run coverage rather than integrate it.

Unfortunately, the [https://docs.djangoproject.com/en/dev/topics/testing/advanced/ coverage documentation] does not mention parallel tests at all.

Since parallel tests use subprocesses, [https://coverage.readthedocs.io/en/6.0.2/subprocess.html special setup] is needed for coverage to be accurate. I have so far been unable to figure this out, and the best information I've found is in this [https://stackoverflow.com/a/42862546/502816 StackOverflow post].

The coverage section needs documentation covering parallel tests, and the parallel tests section should probably mention that coverage needs special setup and link to it.

I would be happy to update the documentation if someone can provide me with the working answer."	New feature	closed	Documentation		Normal	fixed		Carlton Gibson	Accepted	0	0	0	0	0	0
