FlashKeepers

Computer Science · College · College and University

Software Testing and QA Fundamentals

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

About this set

35 basic cards for College Computer Science. It opens with "What is unit testing?" and "What is integration testing?". Study it alongside the other College sets below.

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

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

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

20 more cards in the app

Study this set free