Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [white-box-testing]

White box testing is a process of giving the input and checking how the given input is been processed to obtain the output from the system.

white-box-testing
6 votes
2 answers
17k views

Test cases for a Singly Linked list

What are some good testcases for a Linked list problem in general? for example test cases for a function which finds and eliminates duplicates and returns the pointer to the first node. Some core ...
RashMans's user avatar
  • 331
1 vote
3 answers
4k views

should unit tests be black box tests or white box tests?

Say I have three methods, all very similar but with different input types: void printLargestNumber(int a, int b) { ... } void printLargestNumber(double a, double b) { ... } void printLargestNumber(...
Brad Cupit's user avatar
  • 6,560
1 vote
1 answer
511 views

Questions on WhiteBox testing, ON-Units, Condition-Coverage

I am reading a book where I am getting stuck at few white box testing concepts. The article in the below link is taken exactly from the book. http://testdesigners.com/testingstyles/ControlFlowTesting....
rockbala's user avatar
  • 2,353
0 votes
1 answer
552 views

Errors caught by WBT, but not BBT and vice versa

Can you think of one type of error that might be found using White-Box testing, and one type using Black-Box testing. i.e. an error that would be found by one and not the other. For WBT there would ...
Robben_Ford_Fan_boy's user avatar
3 votes
6 answers
5k views

Disadvantage of White Box Testing? [closed]

Can you think of any disadvantages of White Box testing - other that the tester needs to know and understand the code (which may have a cost)? Thanks,
Robben_Ford_Fan_boy's user avatar
6 votes
2 answers
6k views

Multiple Condition Coverage Testing

When using the White Box method of testing called Multiple Condition Coverage, do we take all conditional statements or just the ones with multiple conditions? Now maybe the clues in the name but I'm ...
Robben_Ford_Fan_boy's user avatar

15 30 50 per page
1 2 3
4