โ† All Software Testing Flashcard Decks

Software Testing Automation & Tools Flashcards

6 cards from real Software Testing practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Software Testing Automation & Tools flashcards as text
  1. What does a mock object do in unit testing?

    Answer: Simulates dependencies and verifies interactions with them

    A mock object replaces a real dependency and can verify that specific methods were called with expected arguments during the test.

  2. Page Object Model (POM) in test automation is a design pattern that:

    Answer: Separates UI element locators from test logic to improve maintainability

    The Page Object Model encapsulates UI locators and actions for each page in separate classes, so UI changes require updates in only one place.

  3. Which tool category is specifically designed for API testing automation?

    Answer: Postman / REST-assured

    Postman and REST-assured are purpose-built for sending HTTP requests and validating API responses in automated test suites.

  4. What is the 'test pyramid' concept in automation strategy?

    Answer: A model recommending more unit tests, fewer integration tests, and fewest UI tests

    The test pyramid advocates for a large base of fast unit tests, a middle layer of integration tests, and a small top layer of slow, expensive UI/end-to-end tests.

  5. What problem does test flakiness cause in automated test suites?

    Answer: Tests produce inconsistent results, eroding trust in the suite

    Flaky tests pass and fail unpredictably without code changes, causing teams to distrust results and ignore legitimate failures.

  6. In automated testing, what is a 'test fixture'?

    Answer: A fixed state of data and environment set up before tests run

    A test fixture establishes a known, consistent baseline state (data, objects, configuration) before each test executes to ensure repeatable results.