GeekInterview.com
Series: Subject: Topic:
Question: 123 of 205

how we measure the test coverage?when to stop the testing?

Asked by: Interview Candidate | Asked on: Oct 6th, 2006
Showing Answers 1 - 5 of 5 Answers
Binita

Answered On : Oct 15th, 2006

Test coverage can be measured when Test cases are completed with certain percentage passed.

Common factors in deciding when to stop testing are:

  • Deadlines (release deadlines, testing deadlines, etc.)
  • Test cases completed with certain percentage passed
  • Test budget depleted
  • Coverage of code/functionality/requirements reaches a specified point
  • Bug rate falls below a certain level
  • Beta or alpha testing period ends
  • Yes  1 User has rated as useful.
      
    Login to rate this answer.

    Hi,

    Test coverage is mesured by using RTM(Requirement Treceability Matrix).

    Common factors in deciding when to stop are:

    • Deadlines (release deadlines, testing deadlines, etc.)
    • Test cases completed with certain percentage passed
    • Test budget depleted
    • Coverage of code/functionality/requirements reaches a specified point
    • Bug rate falls below a certain level
    • Beta or alpha testing period ends.

    Regards

    Prasad 

    Yes  1 User has rated as useful.
      
    Login to rate this answer.

    Through Traceability Matrix we can measure the test coverage.


    In Test Plan, Exit Criteria specified when to stop testing

    1) During the build release If Bug ratio comes down and there were zero critical and medium bugs

    2) 100 % coverage is over as per the Test case document or Traceability Matrix

    3) As per the Release Date mention in the agreement with client

    4) Out of budget

    5) When managers says stop testing

    6) Alpha or beta testing is over

     

      
    Login to rate this answer.
    quality_guy

    Answered On : Oct 23rd, 2009

    View all answers by quality_guy

    1) When the number of test cases are covered and how many passed and failed.
    2) Bug flow rate is low or zero.
    3) When more time is taken and its beyond the dead line.
    4) More budget is consuming than what is planned.

      
    Login to rate this answer.

    Estimating the number of blackbox test cases:


    # blackbox test cases =
    [usecases x steps x rules]+[GUI‘s x objects x states]+[tables x tuples x instances]

    Metrics for measuring test case coverage:

    Requirements coverage =
    tested requirements / specified requirements

    Architectural coverage =
    tested architectural features / architectural features

    Code coverage =
    tested statements, branches, paths, states  / statements, branches, paths, states

    Test case coverage =
    Executed test cases / specified test cases

    When to stop testing:

    Stop testing when you've thoroughly tested all requirements and are satisfied with your architectural and code coverage.

      
    Login to rate this answer.

    Give your answer:

    If you think the above answer is not correct, Please select a reason and add your answer below.

    Related Open Questions

    Ads

    Connect

    twitter fb Linkedin GPlus RSS

    Ads

    Interview Question

     Ask Interview Question?

     

    Latest Questions

    Interview & Career Tips

    Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.