white-box Questions

3

Solved

For an integration test, I need to mock a specific method in a java service client without destroying the rest of the information in it. It has no self-constructor, so a solution like this is out o...
Avenge asked 19/4, 2013 at 17:19

4

What is Unit testing, Black-box testing and White-Box testing? I googled but all the explanation I found was very technical. Can anyone answer this question in a simple way with an appropriat...
Laser asked 31/8, 2011 at 14:31

8

Solved

I'm trying to understand one in terms of how it compares to the other. Is white box testing where you can see the code and black box testing where you don't look at the code?
Goree asked 15/12, 2009 at 8:56

1

Solved

I've recently become aware of powermock's Whitebox functionality. (In summary, it allows you to directly test private methods or modify private members directly from unit tests--while keeping them ...
Anticlimax asked 16/5, 2014 at 19:1

4

Solved

Suppose I have a class with a private property and associated public getter and setter. I want to test with PHPUnit that the property gets the correct value after the setter has been used or that t...
Ashelyashen asked 19/1, 2012 at 15:42

3

Solved

insertion_procedure (int a[], int p [], int N) { int i,j,k; for (i=0; i<=N; i++) p[i] = i; for (i=2; i<=N; i++) { k = p[i]; j = 1; while (a[p[j-1]] > a[k]) {p[j] = p[j-1]; j--} p[j...
Scroop asked 19/4, 2010 at 18:54
1

© 2022 - 2024 — McMap. All rights reserved.