condition coverage in python

前端 未结 7 848
有刺的猬
有刺的猬 2021-02-07 04:53

Is there any tool/library that calculate percent of \"condition/decision coverage\" of python code. I found only coverage.py but it calculates only percent of \"statement covera

7条回答
  •  逝去的感伤
    2021-02-07 05:23

    I haven't used it myself, but if you are willing to replace coverage analysis with mutation testing, I've heard of a mutation tester called "pester".

    While I was doing googling, I also came across a list of python testing tools which mentions some possible code coverage tools.

提交回复
热议问题