Bird
Raised Fist0

Which testing approach evaluates software behavior solely based on input and output without inspecting the source code?

easy🧠 Conceptual Q1 of Q15
Testing Fundamentals - Testing Models and Approaches
Which testing approach evaluates software behavior solely based on input and output without inspecting the source code?
AUnit testing
BWhite-box testing
CBlack-box testing
DIntegration testing
Step-by-Step Solution
Solution:
  1. Step 1: Understand testing approaches

    Black-box testing focuses on testing software functionality without knowledge of internal code.
  2. Step 2: Analyze options

    White-box testing requires code knowledge, unit and integration testing are types but not defined by code visibility.
  3. Final Answer:

    Black-box testing -> Option C
  4. Quick Check:

    Testing without code knowledge means black-box testing [OK]
Quick Trick: No code knowledge means black-box testing [OK]
Common Mistakes:
MISTAKES
  • Confusing black-box with white-box testing
  • Assuming unit testing is always black-box
  • Thinking integration testing excludes code knowledge

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes