Code coverage for people (manual) tests?

后端 未结 4 1630
[愿得一人]
[愿得一人] 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 05:56

    Check Using Code Coverage with Manual Testing

    0 讨论(0)
  • 2021-02-15 06:04

    Getting 100% coverage is probably overkill -- and there are some cases where even when all lines are covered, the tool may not show it. That being said, you should check out the code coverage tools in Visual Studio Team System or any of a number of external coverage tools, such as nCover. Team System allows you to define testing-related checkin policies that may allow you to do what you want with regard to making sure that checked in code has been tested.

    0 讨论(0)
  • 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\<your user>\Documents\IISExpress\config\applicationhost.config

    run your manual tests, then to finish

    vsperfcmd /shutdown
    

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

    0 讨论(0)
  • 2021-02-15 06:14

    Yes, check out AutomatedQA's tools. They can do code coverage with manual testing and they have tools for automating the manual tests which also can be coupled with code coverage.

    0 讨论(0)
提交回复
热议问题