add support for unittests (via pytest)See original GitHub issue
As discussed here https://github.com/CFMTech/pytest-monitor/pull/38
pytest almost fully supports
unittest, but currently
pytest-monitor skips all
I originally proposed to document this, but it was suggested that perhaps this can be fixed and
pytest-monitor could support
unittest-based tests too, which would be awesome.
So as suggested opening this Issue to track the feasibility/progress on this front.
- Created 2 years ago
Top GitHub Comments
I managed to intercept the test function for each unittest. I can obtain measures which seems fine. I am actually a bit stuck for reporting these measures since I have no access to the session. I tried to use hook reports, but I am unsuccessful so far. I have other ideas to manage my way through the unittest protocol but it seems hacky.
Keep you posted.