Which type of testing would you say should be the emphasis (for testers/QAs), and why?
A quick set of definitions from wikipedia:
Black box testing
takes an external perspective of the test object to derive test cases. These tests can be functional or non-functional, though usually functional. The test designer selects valid and inv...
In an interview, whether for developer positions or white-box qa positions, you are ofter asked to:
create test cases for a piece of code / API
categorize each test i.e. functional, stress, load, performance, security etc.
prioritize (assuming low / medium / high priorities)
I want to gather up ideas for such test cases. We can assum...
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?
...
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] = k;
}
}
I have to find cyclometric complexity for this code and then suggest some white box test cases...
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] = k;
}
}
What would be few good whitebox test cases for this particular insertion procedure?
...
have to check some formulae whether they are providing correct result, these formula are written part of a VB program, what is the best tool\method to unit test these formula?
...
I'm relatively new to the world of WhiteBox Testing and need help designing a test plan for 1 of the projects that i'm currently working on. At the moment i'm just scouting around looking for testable pieces of code and then writing some unit tests for that. I somehow feel that is by far not the way it should be done. Please could you gi...
Consider the below HTML string
<p>This is a paragraph tag</p> <font>This is a font tag</font> <div>This is a div tag</div> <span>This is a span tag</span>
This string is processed to tokenize the text found in it and we get 2 results as below
1) Token Array :
$tokenArray == array(
'This is a paragraph tag',
'This is a div ta...
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.html
1.
'ON-Units' terminology is introduced first in the 'Decision Coverage' article without describing what it is. The article continue...