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

All Questions

0 votes
1 answer
126 views

Why is white box testing sometimes called glass box testing?

In some references, I have found that white box testing is sometimes called glass box testing. I would like to know what are the reasons behind that.
Ravindu Abeywardane's user avatar
1 vote
1 answer
981 views

Statement Coverage and Decision Coverage - I am not able conclude which is the correct answer.-Need help wrt flow chart

As per my knowledge of Statement coverage and branch coverage Answer should be (a) .But to be very frank still flow chart for this is not clear to me. Can someone pls help me with flow chat.
Pushpanjali's user avatar
0 votes
0 answers
258 views

How to write test cases using Equivalence Class, Boundary value, and Basis Path Testing

I have a method isPerfect(x) (with 4<=x<=10000) below, how to write test cases based on Equivalence Class, Boundary Value, and Basis Path Testing: public boolean checkPerfectNumber(int x) { ...
ranmeo123's user avatar
0 votes
2 answers
2k views

White-box test cases with 100% code coverage

I apologize ahead as I'm very new to software testing. But I have what looks like a simple code to create a White-box test cases with 100% code coverage: 01 public class ShapeAreas { 02 03 public ...
jaggsharry's user avatar
2 votes
0 answers
79 views

White Box Testing - Basis Coverage

What does it mean, when you do a white box test : "cover the edges with a basis, if possible. Otherwise cover the paths with a set of arbitrary test cases". What I usually do in this kind of ...
KiririIG's user avatar
  • 321
0 votes
2 answers
650 views

I have a few question about MC/DC and piarwise testing

Recently, I started working on software testing, and I had some questions. Pairwise testing is the combination of all the values that this parameter can have, and is it also applicable to Boolean ...
Won Hee Lee's user avatar
-1 votes
1 answer
223 views

Whitebox testing with break

Can someone tell me if my whitebox testing is correct? Can I put 2 arrows entering for statement 8 ? Code being tested: Whitebox test:
SorryToDisturb's user avatar
0 votes
2 answers
506 views

purpose of white box testing

I have read about whitebox testing. Statement coverage, branch coverage, path coverage done at unit, integration levels. In this we derive test cases to obtain maximum coverage for statements, ...
a Learner's user avatar
  • 4,972
2 votes
2 answers
3k views

What is difference between Prime Path Testing and Path Testing?

I got following types of white box testing list: Control flow testing Data flow testing Branch testing Statement coverage Decision coverage Modified condition/decision coverage Prime path ...
fatherazrael's user avatar
  • 5,841
0 votes
2 answers
69 views

Drawing a program graph: What line is visited after a conditional or loop is not called?

Just wanted to check whether the way I am thinking is correct. Here is an example method: 1 public static boolean isCircle (int M, int m) { 2 boolean result = false; 3 if (M == m & M > ...
Luke's user avatar
  • 1
0 votes
0 answers
417 views

Which methods are to be considered in method coverage

I have a confusion regarding the method coverage calculation. consider the code below. function A (n1) { if (n>1) C(); else print n1; } Now, My test case calls A() as A(1) It means ...
sheldon cooper's user avatar
0 votes
1 answer
825 views

how to manually calculate code coverage percentage for path coverage?

I am manually creating the white-box testing for our system and I have issues with automated coverage testing tools. This is a Java-based system. Path coverage % = (Total paths exercised / total ...
makingitwork's user avatar
-5 votes
3 answers
267 views

What do the terms "white box testing" and "black box testing" mean?

Hi everyone my question is not about programming. Rather it is on software development plans. Can someone explain these 2 to me am getting a bit of confusion: White box testing Blackbox testing ...
natasha's user avatar
0 votes
3 answers
112 views

How to test a java software?

We have been assigned an open source software to test! The software has 3 packages and each package has 10 or more classes and each class might have dozens of methods. My question is that before I ...
Anuj Kalra's user avatar
1 vote
2 answers
12k views

statement and branch coverage

Hello everyone in these days i am preparing ISTQB exam and i am stuck with one of the questions. mock exam QUESTION 16 Question is ( originally copy paste) here: Given the following code, which is ...
limonik's user avatar
  • 499

15 30 50 per page