FlashKeepers

Computer Science · College

Software Testing and QA Fundamentals

Unit testing, integration testing, and test driven development concepts from an intro software engineering course.

35 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone
What is unit testing?
Testing individual components or functions in isolation to verify they work correctly.
What is integration testing?
Testing how different components and modules work together as a group.
What is test-driven development (TDD)?
A development approach where you write test cases before writing the implementation code.
What are the three phases of the TDD cycle?
Red (write a failing test), Green (write code to pass the test), Refactor (improve the code).
What is a test fixture?
The setup of initial conditions, data, and state required for a test to run.
What is code coverage?
The percentage of source code that is executed by the test suite.
What is a mock object?
A fake object that simulates the behavior of a real object for testing purposes.
What is a stub?
A test double that provides hardcoded, predetermined responses to method calls.
What is a test assertion?
A statement that checks whether the actual result matches the expected result.
What does it mean when a test fails?
The actual output or behavior does not match the expected output defined in the assertion.
What is regression testing?
Re-running existing tests after code changes to ensure new bugs were not introduced.
What is a boundary test?
A test that checks the behavior of code at the limits or edges of input ranges.
What is an edge case?
An input or condition that falls at the extreme end of the expected operating range.
What is test isolation?
The principle that each test should be independent and not rely on or affect other tests.
Why is test isolation important?
It ensures that failing tests clearly identify the actual problem without side effects from other tests.

20 more cards in the app