Selecting and using suitable test data

Cards (32)

  • Match the test data type with its description:
    Normal data ↔️ Typical input values
    Boundary data ↔️ Values at the edges
    Erroneous data ↔️ Values outside the range
  • Boundary data refers to input values at the edges of the expected input range
  • Steps for using selected test data effectively
    1️⃣ Create test cases
    2️⃣ Group test cases into test suites
    3️⃣ Execute test cases
    4️⃣ Record and analyze results
  • Effective test suites minimize undiscovered errors by achieving high code coverage.

    True
  • Erroneous data includes input values that are outside the expected input range.

    True
  • There are two main types of test data: normal and boundary data.
    False
  • What is the primary purpose of testing a program before its release?
    Identify and fix errors
  • Boundary data is used to test input values at the edges of the expected range.

    True
  • There are different types of test data that can be used, including normal, boundary, and erroneous
  • Erroneous data includes input values that are outside the expected input range
  • The purpose of testing is to ensure a program is robust and fit for purpose.

    True
  • Which strategy for selecting test data involves using typical input values?
    Normal data
  • Test suites aim for high code coverage
  • What are typical input values that a program is expected to handle correctly called?
    Normal data
  • What is the purpose of using a variety of test data types in software testing?
    Identify and fix errors
  • What type of test data verifies basic program functionality with typical input values?
    Normal data
  • What is the primary goal of selecting appropriate test data in software testing?
    Thorough testing
  • What is a test case in software testing?
    Specific input and output
  • Why is test data validation important in software testing?
    Identifies and fixes errors
  • What is the purpose of normal data in testing?
    Verify basic functionality
  • Why is it important to use a variety of test data in software testing?
    Ensure all inputs are handled
  • What type of testing ensures that a program can handle unexpected or extreme scenarios?
    Erroneous data testing
  • A diverse set of test data helps identify edge cases in a program.

    True
  • What does a test case outline in software testing?
    Input values and expected outputs
  • Boundary data refers to input values at the edges of the expected input range
  • The purpose of testing is to identify and fix errors to ensure the program is robust and fit for purpose
  • Boundary data is used to check how the program handles input values at the edges of the expected input range
  • Match the test data type with its purpose:
    Normal data ↔️ Verifies basic functionality
    Boundary data ↔️ Checks how the program handles extremes
    Erroneous data ↔️ Verifies error handling
  • A test suite is a group of related test cases used to comprehensively cover various program features and potential error scenarios
  • Erroneous data verifies the program's error handling capabilities with input values outside the expected range.

    True
  • If a program expects ages from 1 to 100, boundary data could be 1 and 100
  • Code coverage measures the extent to which source code is executed during testing.

    True