Code coverage for people (manual) tests?

后端 未结 4 1634
[愿得一人]
[愿得一人] 2021-02-15 05:10

Are there any code coverage tools for manual testing? For example, if I write 30 new lines of code, compile, then run, is there any way to quickly verify that all 30 lines were

4条回答
  •  渐次进展
    2021-02-15 06:07

    Here's a more detailed answer rather than just a link:

    To do this for an IIS Express application:

    Instrument the dlls you want to see coverage for. So in your bin directory run this

    vsintr /coverage yourapp.dll
    

    I haven't figured out how to make it utilize wildcards unfortunately.

    Launch the app

    vsperfcmd /start:coverage /output:run.coverage
    
    • launch your app
    • If IIS Express app:
      • Get the name of the site from C:\Users\\Documents\IISExpress\config\applicationhost.config

    run your manual tests, then to finish

    vsperfcmd /shutdown
    

    from related question https://stackoverflow.com/a/23791306/57883

提交回复
热议问题