Wednesday, 25 April 2012

What Is Test Cases



  • A case that tests the functionality of specific object.
  • Test case is a description of what to be tested, what data to be given and what actions to be done to check the actual result against the expected result.
  • It is document which includes step description of i/p, o/p conditions with test data along with expected results.
  • It is a specific input that you’ll try and procedure that you’ll follow when you test the software”.
A good test case
  • effective
  • exemplary
  • evolvable
  • economic
  • self standing
  • self cleaning
  • traceable(requirement coverage)
  • accurate
  • repeatable/reusable
Review Format
    1. TC_ID
    2.Objective
    3.Test Data
    4. Expected Result
    5. Actual Result
    6. Sataus
    7. Remark
Test Case Execution
  • Execution and execution results plays a vital role in the testing. Each and every activity should have proof.
  • The following activities should be taken care:
  • Number of test cases executed.
  • Number of defects found
  • Screen shots of successful and failure executions should be taken in word document.
  • Time taken to execute.
  • Time wasted due to the unavailability of the system.