Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code coverage for people (manual) tests?

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 run?

Also, later, after I've checked the code into an official build, is there any way that I can verify that the test department hit on all 30 lines of code when they conducted their independent testing?

I know that there are a lot of tools for verifying that test departments test all requirements, but I haven't found a tool that verifies that testers test all lines of code.

I'm most interested in .NET / C# tools.

like image 868
Sean Avatar asked Apr 07 '09 01:04

Sean


People also ask

What is code coverage in manual testing?

Code coverage : indicates the percentage of code that is covered by the test cases through both manual testing and Selenium or any other test automation framework. For example, if your source code has a simple if…else loop, the code coverage would be 100% if your test code would cover both the scenarios i.e. if & else.

How do you measure test coverage in manual testing?

Calculating test coverage is actually fairly easy. You can simply take the number of lines that are covered by a test (any kind of test, across your whole testing strategy) and divide by the total number of lines in your application.

What is good test code coverage?

Test Coverage: Test coverage is a technique where our test cases cover application code and on specific conditions those test cases are met. Minimum Test Coverage Rate: Keeping it between 60 - 70%. Optimal Test Coverage Rate: Keeping it between 70 - 80%. Overkill Test Coverage Rate: Keeping it between 80 - 100%.

How do you write test cases for code coverage?

You simply take: (A) the total lines of code in the piece of software you are testing, and. (B) the number of lines of code all test cases currently execute, and. Find (B divided by A) multiplied by 100 – this will be your test coverage %.


1 Answers

Check Using Code Coverage with Manual Testing

like image 69
J.W. Avatar answered Nov 15 '22 16:11

J.W.