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
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 ...
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, ...
0 votes
1 answer
1k views

React Application Unit Testing

I am currently testing a React app using Selenium for Functional Testing. Selenium is used to launch the app on the browser, and simulate user actions and keep asserting/verifying at each step. ...
0 votes
1 answer
399 views

Black box/White box testing contradictions

So I already know the difference between white box and black box testing, but I am looking for fairly straightforward examples of situations where White box says "everything is OK" and Black box ...
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 ...
-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 ...
0 votes
0 answers
392 views

Calculate minimum number of test cases for statement coverage and condition coverage respectively

Could someone draw a flow graph and explain how I get the answer to this question? Question: Calculate the minimum number of test cases for statement coverage and minimum number of test cases for ...
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.
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.
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) { ...
1 vote
1 answer
525 views

How is Symbolic Execution different from Whitebox Fuzzing?

I do not understand how symbolic execution is different from Whitebox fuzzing? From what I understand, Whitebox Fuzzers symbolically execute the code with some initial input format. Additionally, it ...
2 votes
1 answer
2k views

Difference between control flow testing and basis path testing

We are studying various testing techniques in Software Quality Assurance course and i got confused when came across "basis path testing" and "control flow testing". Both these techniques apparently ...
0 votes
0 answers
38 views

I am trying to learn statement coverage analysis

I am trying to learn code coverage analysis; I am bit confused because the following code has loops. Example if the code like this read a; read b; i=0 if a>b while(to i<a) print(i) i++; end ...
1 vote
0 answers
34 views

Cyclomatic Complexity Calculation on Presenter Methods and Callbacks

everyone. I need help in determining the cyclomatic complexity regarding this tested method. @Override public void renderData() { mRepository.render(new TvShowsRepositoryCallback() { @...
-1 votes
1 answer
39 views

Should I add white/black box rendundant Unit Tests?

I've written black-box unit tests for my project. After a refactoring, I've adopted a strategy pattern in my code. This code is covered by the black-box unit test, even after the refactoring. ...

15 30 50 per page