I am able to generate code coverage reports using c8.
But how do I output total coverage % every time? Currently, it outputs total coverage % only if it is less than the threshold like this.
But I wanted to see the % every time it runs.
Config :
{
"include": "app",
"check-coverage": true,
"lines": 99,
"reporter": ["text","cobertura"]
}
我只需要添加“文本摘要”作为记者之一。
"reporter": ["text","text-summary","cobertura"]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.