man-group / pytest-plugins

A grab-bag of nifty pytest plugins
MIT License
568 stars 85 forks source link

With pytest-pyramid-server how to get coverage for requests? #154

Open qlands opened 4 years ago

qlands commented 4 years ago

I'm using pytest-pyramid-server to test a Pyramid application.

The server starts fine and I get some coverage information however no matter the request I made for example:

assert pyramid_server.get('/')
assert pyramid_server.get('/login')
assert pyramid_server.get('/join')

I still get the coverage of starting the server but never increases with any request.

Any idea how can I do that?