Section outline

  • Discussion Topics:

    • What is equivalence partitioning, and how does it reduce the number of test cases?
    • How do you identify valid and invalid equivalence classes for a given input domain?
    • Discuss the advantages and limitations of equivalence partitioning in real-world testing.
    • Can equivalence partitioning be used effectively in non-functional testing? Why or why not?

    Lesson Summary: Students are introduced to equivalence partitioning, a black box testing technique that divides input data into partitions expected to exhibit similar behavior. Different equivalence partitioning techniques are explored through classroom discussions, lecture videos, and open discussions. Lab performance assessments align with CLO1 (understanding testing techniques).

    Instructions for Lab Report 3:

    Lab Report 3: Equivalence Partitioning for Test Case Optimization

    Objective: Implement Equivalence Partitioning to reduce test cases while ensuring coverage.

    Learning Outcome: Students will be able to partition input domains into equivalence classes and design optimized test cases, demonstrating understanding of test efficiency (CLO1, PLO1, Cognitive Domain: Apply - C3).

    Tools Required: Any C Compiler.

    Instructions:

    1. Select a program with multiple input domains (e.g., a grading system assigning letter grades).
    2. Divide the input domain into valid and invalid equivalence classes.
    3. Design a minimal set of test cases to cover all equivalence classes.
    4. Execute the test cases and document results.
    5. Discuss how Equivalence Partitioning reduces testing effort while maintaining coverage.

    Deliverables:

    • A lab report with equivalence classes, test cases, execution results, and a discussion on optimization.
    • Submit via Google Classroom or DIU Blended Learning Center.

    Assessment: Lab Performance (CLO1, PLO1).