# general


02/07/2020, 11:51 PM
another coverage question, it looks like coverage will not run under pants unless i also include --coverage=, even if I specify command line arguments to be passed to the underlying pytest call as in -
./pants test :: — --cov=
. That in and of itself isn’t a huge problem, but we’re running tests across many targets, and I’m having little luck using any kind of wildcard when it comes to specifying modules. For example, if we have targets a-z, each with submodules, I’m only able to get some coverage results doing something like
./pants test --coverage=modulesa.a,a.b,a.c,a.d,…,z.x,z.y,z.z
. Am I just doing things wrong? I’ve tried paths as well, but generally I still get “module a was not included, ignoring”