Static White-Box Testing

Puneet Kalra
Puneet Kalra / 7 yrs ago /
  0

Static White-Box Testing: Examining the Design and Code

Static white-box testing is the process of carefully and methodically reviewing the software design, architecture, or code for bugs without executing it. It's sometimes referred to as structural analysis.

 
The obvious reason to perform static white-box testing is to find bugs early and to find bugs that would be difficult to uncover or isolate with dynamic black-box testing. Having a team of testers concentrate their efforts on the design of the software at this early stage of development is highly cost effective.

 

A side benefit of performing static white-box testing is that it gives the team's black-box testers ideas for test cases to apply when they receive the software for testing. They may not necessarily understand the details of the code, but by listening to the review comments they can identify feature areas that sound troublesome or bug-prone.

 

Please note that some development teams vary in who has the responsibility for static white-box testing. In some teams the programmers are the ones who organize and run the reviews, inviting the software testers as independent observers. In other teams the software testers are the ones who perform this task, asking the programmer who wrote the code and a couple of his peers to assist in the reviews. Ultimately, either approach can work. It's up to the development team to choose what works best for them.


The unfortunate thing about static white-box testing is that it's not always done. Many teams have the misconception that it's too time-consuming, too costly, or not productive. All of these are untruecompared to the alternative of testing, finding, and even not finding bugs at the back end of the project. The problem lies in the perception that a programmer's job is to write lines of code and that any task that takes away from his efficiency of churning out those lines is slowing down the process.

 
Fortunately, the tide is changing. Many companies are realizing the benefits of testing early and are hiring and training their programmers and testers to perform white-box testing. It's not rocket science (unless you're designing rockets), but getting started requires knowing a few basic techniques. If you're interested in taking it further, the opportunities are huge.
 
 
 
 



Contest Entries

TheBigThinkg Blog
Love is in the Hair..
 "bbbblup" - It dropped from the wet terracota tiled roof. Sushi had kept a vessel on the floor to collect the droplets. The collected rain-water is so cold and refreshing that she likes to play
10 hrs ago
Ishanya
Heart Has No Wrinkles!
 When will the train start I held on to my luggage searching for my place to settle down, the wetness of the compartment and the uneasiness made me uncomfortable. Thumping in the mists of the
10 hrs ago
Rajashri R
As the rains bind us together
 She’s been with me through my ups and downs. She holds my hand when I know I would slip. She walks besides me when I need someone to hold me, keep me strong and push me towards success. She
14 hrs ago
Revathi Seshadri
Telephonic Monsoon Magic. (Short Story for Sulekha Monsoon Magic competition.)
  Telephonic Monsoon Magic. By Revathi SeshadriSwati woke up with a start. Cursed the telephone. Again, the recurring dream ended before she heard what Sumeet was trying to say.It was Nina,
17 hrs ago
shrishti tripathi ARK
A Romantic Monsoon Story
 This happened five years back. I worked in a call centre in Chennai. There happened to be a cute girl from Lucknow working with me. We had become good friends. We were poles apart but had an
19 hrs ago
madhulika
The Sparkling Stairs
 THE SPARKLING STAIRSA man of no destination was roving on an untraveled pavement with the thoughts of misery and resentment reverberating in his mind. After years of trying to subsist with his
1 day ago
Niranjana
Thunder's effect
 This happened 5 years ago when I was in college, a guy in my class and me became close friends in a short period and soon he proposed. We had just become friends but I liked everything about him.
1 day ago
navneetkumarbakshi
We Can Chain The Body...but Not The Soul- A Short Story
 Yesterday, I sat down to write a story on the theme of Monsoon for Sulekha's contest but I didn't realize that the theme was Monsoon Romance. Never mind Team Sulekha, I will write another one-
2 days ago
ixedoc
One monsoon day, many moons ago
  I was in my car as the evening bell at the primary convent school rang closure for the day. In minutes, a bubbling crowd of kids, all giggling and prancing poured out of the gate, little boys,
2 days ago
suchisree
DANCING DROPS
 Monsoon memories takes me back to my childhood. It was but natural that I fell in love with this heavenly magic as our ancestral house had a “Nalukettu” where the central courtyard
3 days ago