Closed abhiphirke closed 5 years ago
I am trying to use Coverlet.Console 1.5.3 which does not seem to work. With multiple simple test projects (using .Net Core 2.2.107) having different coverage stats and straightforward configuration, I am always getting:
empty coverage.json
coverage.opencover.xml as: <?xml version="1.0" encoding="utf-8"?>
And wrong coverage information as: +--------+------+--------+--------+ | Module | Line | Branch | Method | +--------+------+--------+--------+
+---------+------+--------+--------+ | | Line | Branch | Method | +---------+------+--------+--------+ | Total | 100% | 100% | 100% | +---------+------+--------+--------+ | Average | ∞% | ∞% | ∞% | +---------+------+--------+--------+
After struggling a lot with this, I am still not able to make it to work. What possibly I am doing wrong here? Please help. Thanks you.
PS: With Coverlet.Msbuild 2.6.3, this is working well.
Can you attach the command line you're using?
@abhiphirke any news? Feel free to close if solved.
Close for stale, feel free to re-open if needed.
I am trying to use Coverlet.Console 1.5.3 which does not seem to work. With multiple simple test projects (using .Net Core 2.2.107) having different coverage stats and straightforward configuration, I am always getting:
empty coverage.json
coverage.opencover.xml as: <?xml version="1.0" encoding="utf-8"?>
And wrong coverage information as: +--------+------+--------+--------+ | Module | Line | Branch | Method | +--------+------+--------+--------+
+---------+------+--------+--------+ | | Line | Branch | Method | +---------+------+--------+--------+ | Total | 100% | 100% | 100% | +---------+------+--------+--------+ | Average | ∞% | ∞% | ∞% | +---------+------+--------+--------+
After struggling a lot with this, I am still not able to make it to work. What possibly I am doing wrong here? Please help. Thanks you.
PS: With Coverlet.Msbuild 2.6.3, this is working well.