nerdexam
IBM

C1000-010 · Question #35

What are the possible results of running a test suite?

The correct answer is A. Passed, Failed. Option A (Passed, Failed) is correct because a test suite produces a binary outcome for each test: either the test passes (the actual behavior matches expected behavior) or it fails (it does not). These are the universally accepted states in testing frameworks like Jest, JUnit…

Testing and Debugging Rules

Question

What are the possible results of running a test suite?

Options

  • APassed, Failed
  • BRunning, Done, Retrying
  • CActive, Complete, Paused
  • DSuccessful, Failure, Error

How the community answered

(31 responses)
  • A
    90% (28)
  • B
    3% (1)
  • D
    6% (2)

Explanation

Option A (Passed, Failed) is correct because a test suite produces a binary outcome for each test: either the test passes (the actual behavior matches expected behavior) or it fails (it does not). These are the universally accepted states in testing frameworks like Jest, JUnit, pytest, and others.

Why the distractors are wrong:

  • B (Running, Done, Retrying) describes execution states of a process, not test results - they indicate lifecycle phases, not outcomes.
  • C (Active, Complete, Paused) similarly describes status or progress states, not the pass/fail verdict a test produces.
  • D (Successful, Failure, Error) is a common trap - while "error" can occur during testing (e.g., a runtime exception), it is not a standard top-level result category; errors typically cause a test to fail, making them a subset of failure, not a separate result.

Memory tip: Think of a test like a true/false question - it either passes or fails, full stop. If something goes wrong mid-test (like a crash), the test still ultimately fails. Keep it binary: Passed / Failed = Perfect Framework result.

Topics

#test suite#test results#testing outcomes

Community Discussion

No community discussion yet for this question.

Full C1000-010 Practice