Testing & Debugging Flashcards
7 cards from real CAD 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 & Debugging flashcards as text
What is the primary goal of integration testing?
Answer: Verifying that combined components or modules work correctly together
Integration testing verifies that multiple components interact and function correctly when combined, catching interface-related defects.
Which tool category is commonly used for automated UI testing of web applications?
Answer: Browser automation tools such as Selenium or Playwright
Browser automation tools like Selenium and Playwright simulate real user interactions in a browser to automate web UI testing.
What information does a 'stack trace' provide when debugging a runtime error?
Answer: The sequence of function calls that led to the error
A stack trace shows the call stack at the point of failure, revealing the chain of function calls that led to the error.
What does 'boundary value analysis' focus on when designing test cases?
Answer: Input values at the edges of valid ranges
Boundary value analysis tests input at the exact minimum and maximum edges of valid ranges, where defects most frequently occur.
Which debugging feature allows a developer to pause code execution at a specific line and inspect application state?
Answer: Breakpoint debugging
Breakpoints pause execution at a designated line, enabling developers to inspect variable values, call stacks, and program state in real time.
What is 'equivalence partitioning' in software testing?
Answer: Dividing input data into groups expected to be processed similarly
Equivalence partitioning groups input values that should be processed identically, so testing one value from each group is sufficient to represent all values in it.
In unit testing, what is a 'test fixture'?
Answer: A fixed, known state of data and objects used as a baseline for tests
A test fixture establishes a consistent, known starting state—data, objects, and environment—before each test executes to ensure repeatability.