Running Coverage On Flask App Using uWSGI

Issue #636 invalid
Shai Cantor created an issue


I want to run coverage on a flask app that run with uwsgi with 1 master and multiple workers. Workers serve requests.

I read this - Using uwsgi initializes the interpreter once on the master and not on the workers, meaning coverage doesn't run on the workers.

Any idea how can set it up?

Thanks a lot

Comments (2)

  1. Ned Batchelder repo owner

    I don't have experience with uWSGI, so I don't know the answer. I'm not sure how it can avoid initializing the interpreter? Perhaps asking on Stack Overflow, or the testing-in-python mailing list?

  2. Log in to comment