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.
 
 
 
 






couples

Monsoon Romance Contest

View Popularity Board

Contest Entries

Priyadarshi Dutta
Monsoon makeover
 By Priyadarshi DuttaNikhila stood in the terrace of her top floor flat in Dadar looking at the waterlogged patches of the road. The rains had heavily walloped the Mumbai the previous afternoon.
2 weeks ago
Vignesh Karnam
The Dawn of Rain.
 The rain always gathered all of my courage. I always loved the rain. I stepped out on a whim and noticed myself melting in the presence of another being. The presence so divine and lovely , I
2 weeks ago
Alka Girdhar
Mellowing Monsoons
 The rain fell incessantly in a continuous noisy torrent, but its seemingly immaculate fall was a mere puppet in the hands of angry gushing winds that made it sway this way and that way, this way
2 weeks ago
MeghnaVinod
THE LOVE OF MY LIFE IS HERE
 THE LOVE OF MY LIFEBangalore. 13 February. 6pm.Samiksha: It was raining. Raining hard. I could hear the raindrops falling on our tilled roof pitter patter. I just stood there enjoying the slight
2 weeks ago
TheBigThinkg Blog
The Lusty Love..
 I looked at her longingly..There she was, probably with her little son next to her..I am new to this village. I had come here with four of my friends. The sacrifice festival of this village is
2 weeks ago
novelideas
SPEECHLESS
 I waitfor this distant horizonto gather scattered petalsof crimson glory from its canvassinto a spongy blanketbillowing to spread its wingswith the whispering zephyrI wishnow to be let into those
2 weeks ago
chitra viswanathan
The magic of the rain after a storm
 “Swetha, are you ready ” asked her mother, Prema. “It is getting late. It will not be nice if we go late to receive Venkatesh.” They all got into the car. There was great
2 weeks ago
Tripti
All I want is you..
  26th June, 2014 Mumbai 18:30 hours"Feeling numb." "As I pen this down, I''m sitting closer to the entrance, staring outside my tent so that the wetness hits me. I''m not enjoying it,
2 weeks ago
Shalini Prasad
The Magic the Rain Brings - Part 3
 This year, people expected a lot of rain. To say that they were disappointed would be an understatement. The monsoon season was as dry as the summer. The farmers were suffering, the lakes were
2 weeks ago
aruna
In Reference To Monsoon Romance Contest
 To day is the day of birth day of Krishna.How we can forget him when we talk of romance here.He gave a new look to love. Radha was his lady love though he never married to her.When we are facing
2 weeks ago