Top "White-box" questions

White-box testing is a method of testing software that tests internal structures or workings of an application as opposed to its functionality i.e. black-box testing

Should black box or white box testing be the emphasis for testers?

Which type of testing would you say should be the emphasis (for testers/QAs), and why? A quick set of …

testing qa black-box white-box
Unit testing, Black-box testing and white box testing

What is Unit testing, Black-box testing and White-Box testing? I googled but all the explanation I found was very technical. …

unit-testing testing white-box black-box-testing
PHPUnit: Doing assertions on non-public variables

Suppose I have a class with a private property and associated public getter and setter. I want to test with …

php unit-testing phpunit white-box
How do I use Powermock's Whitebox.invokeMethod(Object instance, Object... arguments) when my first method parameter is String type?

I would like to not explicitly name the method I am invoking in the invokeMethod() arguments. Powermock offers an overloaded …

java unit-testing junit powermock white-box
Control flow graph & cyclomatic complexity for following procedure

insertion_procedure (int a[], int p [], int N) { int i,j,k; for (i=0; i<=N; i++) p[i] = …

c control-flow cyclomatic-complexity black-box white-box
What is black box testing and white box testing

I'm trying to understand one in terms of how it compares to the other. Is white box testing where you …

testing black-box white-box
Java whitebox testing

How is white box testing done on java applications? Does it mean that I have to test class by class? …

java testing white-box
Is JUnit black-box or white-box testing?

Is JUnit black-box or white-box testing? I think that it is white-box but i am not sure. I am looking …

testing junit black-box white-box
PowerMock: Using Whitebox.invokeMethod(...) properly for a method taking an Object[] as a param

private boolean isEmpty(Object[] array) { if (array == null || array.length == 0) return true; for (int i = 0; i < array.length; i++) { …

java unit-testing junit powermock white-box
Powermock Whitebox invocation with null parameter

I'm trying to test a private method and have the following setup: public class MyClass { private boolean myprivatemethod(ClassB classBObject, …

null mockito powermock white-box