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 (24)

Premlatha Maruthavanan
Paradise on my Roof top
 I am premlatha from chennai . One of my passion in life is gardening . My garden is a place where I find myself , when I need to lose myself .Gardening has been my hobby ever since I learnt my
5 days ago
namitasachan
An overview of my terrace.
 These are the blooms of Wild Shatavari. The thorny creeper snakes upward from my first floor terrace to roof top. It''s a hardy plant and these were the first blossoms after many years. But after
5 days ago
Madhur Dharmadhikari
Slice of nature
 The Balcony. I collect chimes and bells and for me, they add to the balcony experience. The lovely sounds they make is heavenly. Got those ceramic pots from roadside vendors for real cheap. But
5 days ago
Hima
Harvest notes: September
 Asparagus : As temperatures warm up, check asparagus plants daily to see what is ready to harvest. Early morning is when asparagus is at its best. Choose young shoots around 20cm long, snapping
5 days ago
Mary Sonia
My Happy Garden
 Surrounding yourself with green trees and beautiful garden not only makes you cheerful but improves your health too. Getting outdoors and working a couple of hours on the garden will refresh your
6 days ago
Sonali
Pieces of Art At My Home
 These are few images from my home that I had taken. Each and every piece was handpicked by my grand father. His love of collecting pieces of art is very evident is the images below. The
6 days ago
prakash Rajasekaran
praggi's terrace garden - a garden with a limited space but with limitless passion :)
 hi , I am Prakash Rajasekaran and i am proud to introduce myself as an organic terrace gardener . A garden which started with just one rose plant has now become the most lovable place at my home
7 days ago
Taste Buds
Fresh From My Garden
 Dear all, This is my garden flourishing with beautiful flowers & healthy - organic veggies. Gardening is a wonderful way to fruitfully use your time...& its also a great STRESS BUSTER. My
1 week ago
namitasachan
Bulbous beauties of my terrace
 I have a very small terrace and that too is a passage to our first floor. I keep pots in two rows on either side leaving the space in the middle to walk. But I have tried to maximize the use of
2 weeks ago
Encourage The Contestants
by commenting on their post

Paradise on my Roof top  by Premlatha Maruthavanan

Paradise on my Roof top

Inside Outside Contest! ×