Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the main objective of white-box testing ?

  • A.Test without knowledge of internal structure
  • B.Test based on internal code structure
  • C.Test user interface only
  • D.Test system integration

Answer: B

The main objective of white-box testing is to test based on internal code structure.

In white-box (glass-box, structural) testing the tester knows the source code and designs test cases to exercise its internal logic: statements, branches, conditions and paths, measured by coverage criteria such as statement, branch and basis path coverage.

Testing without knowledge of the internal structure is the definition of black-box testing. Testing only the user interface is a narrow kind of functional testing. Integration testing checks how modules work together and can be done in either style.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.