-
Notifications
You must be signed in to change notification settings - Fork 392
Description
It would be great to run coverlet without any tests and collect code coverage for application. What I mean here is to for example having console application, instrument it and then start it (without any vstest or anything). When application finishes collect code coverage.
For example:
Let's assume we have app.exe and references of it ref1.dll and ref2.dll
It would be good to be able to
- instrument all above through command line for example:
coverlet instrument app.exe ref1.dll ref2.dll - run application
.\app.exe - get code coverage from application run.
It could also work in such way that during application execution it will be "logging" all hits to file:line (it could send it to some "monitor")
And after the process finishes it could generate code coverage report based on such data (by another coverlet produceReport data.txt). Such approach would also give possibility to get coverage report for particular time frame without need of process termination.
Such feature will give possibility to collect code coverage for:
- backend services when tests are just communicating with it through http etc.
- any other than vstest test runner