TEST DATA

Cards (7)

  • Normal data
    • Data accepted to prove a program works correctly
    • Used to compare actual results with expected results
  • Testing a solution
    1. Determine if it is working as it should
    2. Test each sub-system separately before testing the whole system
    3. Work through algorithms written in pseudocode or flowcharts with test data to see the result
    4. Thoroughly test with different sets of test data
    5. A set of test data includes all items required to work through a solution
    6. Use test data that the program would normally work with, along with expected results
  • Extreme data
    The largest and smallest values accepted by a program
  • Abnormal or erroneous data
    • Data rejected by a program, usually with an error message
    • Used to show when solutions do not perform as expected
  • Types of test data
    • Normal data
    • Abnormal or erroneous data
    • Extreme data
    • Boundary data
  • Boundary data for percentage marks in the range 0 to 100
    • -1, 0, 100, 101
    • -1 and 101 are rejected, 0 and 100 are accepted
  • Boundary data
    • Used to establish where the largest and smallest values occur
    • At each boundary, one value is accepted and the other is rejected