CAST Test Planning and Execution — Questions and Answers
Question 1: What is the primary purpose of a test plan in software testing?
- To eliminate the need for defect tracking
- To define testing strategy and scope (Correct answer)
- To replace software requirements
- To avoid documentation
Correct answer: To define testing strategy and scope
A test plan serves as a document that outlines the testing strategy, objectives, scope, schedule, and resources needed for testing.
Question 2: Which of the following is a key component of a test plan?
- Software coding guidelines
- Test scope and objectives (Correct answer)
- Marketing strategy
- Database schema design
Correct answer: Test scope and objectives
A test plan typically includes scope, objectives, test environment, deliverables, and risk assessment.
Question 3: What is the purpose of test execution in the software testing life cycle?
- Developing software code
- Running test cases and logging defects (Correct answer)
- Writing user manuals
- Deploying the software to production
Correct answer: Running test cases and logging defects
Test execution involves running test cases, logging defects, and verifying that the software meets requirements.
Question 4: Which metric is commonly used to track the progress of test execution?
- Code coverage
- Test case execution percentage (Correct answer)
- Bug severity
- Deployment frequency
Correct answer: Test case execution percentage
Test case execution percentage measures the number of executed test cases compared to the total planned test cases.
Question 5: What is the benefit of using a test execution log?
- To store user credentials
- To track test execution history and defects (Correct answer)
- To write system requirements
- To increase code complexity
Correct answer: To track test execution history and defects
A test execution log helps track test results, defects found, and execution history to ensure traceability and accountability.
Question 6: Which activity is performed after test execution?
- Writing unit tests
- Defect reporting (Correct answer)
- Updating source code
- Defining business requirements
Correct answer: Defect reporting
Defect reporting is done after test execution to document any issues identified during testing.
What is the primary purpose of a test plan in software testing?