Testing and Quality Assurance Flashcards
7 cards from real CAS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Testing and Quality Assurance flashcards as text
What is the primary goal of unit testing in software development?
Answer: To test individual components or functions in isolation
Unit testing focuses on testing individual components or functions in isolation to verify each piece works correctly on its own.
Which testing approach evaluates software functionality without any knowledge of its internal code structure?
Answer: Black-box testing
Black-box testing evaluates software functionality purely based on inputs and expected outputs, with no visibility into internal code.
What does regression testing primarily aim to verify?
Answer: That previously working functionality still works after code changes
Regression testing ensures that recent code changes or additions have not broken previously working functionality.
Which type of testing simulates real-world user traffic to evaluate system behavior under expected and peak conditions?
Answer: Load testing
Load testing simulates realistic user volumes to measure how a system performs under expected and peak traffic scenarios.
What is a test case?
Answer: A set of conditions under which a tester determines whether a system satisfies requirements
A test case defines specific conditions, inputs, execution steps, and expected outputs used to verify that a system meets its requirements.
What is the primary purpose of smoke testing?
Answer: To perform preliminary testing that reveals critical failures in a new build
Smoke testing is a preliminary pass that checks whether a build is stable enough to proceed with more thorough testing by catching critical failures early.
Which software development methodology requires writing tests before writing the application code?
Answer: Test-Driven Development (TDD)
Test-Driven Development (TDD) requires developers to write a failing test first, then write the minimum code needed to make it pass.