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.
 
 
 
 


Monsoon Romance Short Story Contest


Contest Entries (50)

M.V. Balaji
Monsoon Romance? Ha ha ha!
 Trust the writer’s block to strike you at the wrong moment. When I read the announcement about the Monsoon Romance Contest I just went blank and my head, usually a busy beehive of ideas was
29 mins ago
sheela
The Monsoon Episode
  “My feet are killing me, so bye for now.” Tara snapped her cell-phone shut and tossed it on the files on the table. She was so bloody tired. Jayu, her colleague and neighbour, who
19 hrs ago
Srikanth
Come Home, Mary!
 Genre: Fiction.Devraj and his wife Susan were waiting to board to London at world’s Busiest Airport, JFK. Ajay Devraj is a new found fame in Cardinal circle and Electoral College of
19 hrs ago
Sugata Kundu
Warmest romance in the coolest moonsoon
 Believe it or not but there is no other season which can give you a more perfect feel of romance. I too have had a plenty of romances under the raining sky.One day me and my fiance was going to
1 day ago
Aparna Bhattacharya
The essence of love ''Petrichor''
  The monsoon has a deep connection with her soul and she was enraptured by rain. This monsoon has brought lots of happiness and peace in her life. She just completed her schooling and now she is
1 day ago
Eresh
Rainy night
 Standing in the balcony looking at our pictures thinking how happy we were together and look at us now, we keep quarreling, use words which makes us shed tears of blood.We got so fed up that we
1 day ago
navneetkumarbakshi
Serenading In The Rain- Humor
 The raining of stories on Monsoon Romance has receded now. I see some splitting of the clouds, emerging sun. It’s time for a different take, some fun Let’s put some humor here.Scene
1 day ago
piyushnayak
monsoon night
 My heart bit goes up beyond the threshold level, as I am present here alone tonight. No one else is here to listen my voice to reduce the calmness. Bus is also playing with me. The last bus at 10
2 days ago
Avani Shah
This Monsoon...
 This Monsoon…Go and play football with your friends,Splash the mud water, enjoy the raindrops,STAY HEALTHY. STAY FIT.Go and play the drums, the dhols and tashas,Lord Ganesha is on his way
2 days ago
Debanjan
THE MONSOONS... an unpretentious companion in my WHOLE LIFE :)
 I just love the rains! I was born in the month of July in 1970 in the sleepy town of Karkala at the bottom of the Western Ghats near Mangalore. My grandfather used to chide me saying, "You are an
2 days ago