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

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 checks the internal structure of the software. White box testing can be started only after the coding is been completed. Tester who has knowledge of coding performs white box testing. Its advantage is that it checks the internal structure of the system at the basic level and gets it improvised, But the disadvantages is that mostly it does not concentrate on whether the system satisfies users needs or no.

White box test techniques

  1. Statement Coverage
  2. Branch coverage/ Decision Coverage
  3. Path Coverage
  4. Condition Coverage
54 questions
0
votes
1 answer

Code coverage of a daemon in Windows

I need to do code coverage on a daemon. The daemon application is written in c++. We test the daemon features with a client test program that has its own libraries. The libraries communicate with the daemon. I use IBM Rational PureCoverage usually.…
kk.
  • 667
  • 1
  • 15
  • 33
0
votes
1 answer

Which techniques for unit tests with poor functional requirements and no design specifications?

In my understanding, design specifications help to formulate unit test cases which make use of internal knowledge (white-box techniques), while if we only have functional requirements, the black-box techniques are more suited. What happens if we…
0
votes
1 answer

White-Box Testing

I was just wondering what is the difference between the statment coverage/decision coverage/condition coverage from the following code. public static void main (String args []) { char letter=' '; String word= "", vowels = "aeiouAEIOU"; …
0
votes
2 answers

JUnit blackbox/ whitebox to test Selection Sort?

I am attempting to understand and impliment blackbox / whitebox JUnit techniques on a SelectionSort class, but Im having trouble understanding what direction to take.. One of my failed attempts I have below..I try to test the size of the Array from…
0
votes
1 answer

Test Javascript function which dont return a value in Qunit

Suppose I have a function function f_createScriptElement(f_url) { var script = d[CreateElement](Script); script.type = "text/javascript"; script[Src] = f_url; script.async = true; try { var…
Swaraj Chhatre
  • 627
  • 1
  • 10
  • 22
0
votes
1 answer

Android white box testing

I'm new android testing and for a while I'm using Android test framework to test my code(with the help of ProviderTestCase2, AndroidTestCase, activityinstrumentationtestcase2,etc) I want to know what are other frameworks available as…
-1
votes
1 answer

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. However I was wondering: should I add white-box unit…
aneuryzm
  • 63,052
  • 100
  • 273
  • 488
-1
votes
1 answer

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:
-5
votes
3 answers

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 Also it would be appreciated if someone gives me…
1 2 3
4