top button

Which test cases are written first: white boxes or black boxes?

0 votes
8 views
posted Apr 10 by Arun

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

2 Answers

0 votes

Normally black box test cases are written first and white box test cases later. In order to write black box test cases, we need the requirement document and, design or project plan. All these documents are easily available at the initial start of the project. White box test cases cannot be started in the initial phase of the project because they need more architecture clarity which is not available at the start of the project. So normally white box test cases are written after black box test cases are written.

Black box test cases do not require system understanding but white box testing needs more structural understanding. And structural understanding is clearer i00n the later part of the project, i.e., while executing or designing. For black box testing, you need to only analyze from the functional perspective which is easily available from a simple requirement document.

Software Testing Image enter image description here

answer Apr 11 by Arunkumaarts
0 votes

First black boxes tested and then white boxes

answer Apr 11 by Champaka Lakshmi C G
...