Section outline
-
Discussion Topics:
- What makes a test case effective, and how do you prioritize test cases?
- How do you structure a test report to communicate findings to stakeholders?
- Discuss the challenges of balancing thorough test case design with project deadlines.
- How can test reports influence future development and testing cycles?
Lesson Summary: Students focus on designing effective test cases and writing test reports. Practical exercises use C compilers, with assessments through lab performance, viva, and lab final. This week reinforces CLO2 (applying testing knowledge) and CLO3 (problem-solving through testing).
Instructions for Lab Report 7:
Lab Report 7: White Box Testing with Basic Path Testing
Objective: Apply Basic Path Testing to achieve code coverage using White Box Testing.
Learning Outcome: Students will be able to create control flow graphs and design test cases to cover independent code paths, demonstrating knowledge of structural testing (CLO1, PLO1, Cognitive Domain: Analyze - C4).
Tools Required: Any C Compiler.
Instructions:
- Select a program with control structures (e.g., loops, conditionals).
- Draw a control flow graph (CFG) for the program.
- Identify independent paths using Basic Path Testing principles.
- Design test cases to cover all independent paths.
- Execute the test cases and document code coverage metrics.
Deliverables:
- A lab report with the CFG, test cases, execution results, and coverage analysis.
- Include code snippets and coverage metrics.
Assessment: Lab Performance (CLO1, PLO1).