THE GATE TO THE REAL SOFTWARE TESTING EXPERIENCE AND KNOWLEDGE IN "TESTING A SOFTWARE" WORLD

Thursday, November 3, 2011

Methods of software testing: White Box vs Black Box Testing

White Box vs Black Box Testing

When someone is assigned to execute software testing (Both web testing and windows application testing), they sometimes have question for me about the type of methods of software testing, my answer usually is "2 types the White Box and Black Box Testing". Then, the next question will be "What is different?". Here is the answer...


White Box
Black Box
Require knowledge of
software's internal algorithm?  
Yes
No
Sample of Test design
technique
  • Path testing
  • Branch testing
  • Equivalence partitioning
  • Boundary value analysis
  • Pairwise testing (All-pairs testing
Software Testing Phase
Unit Testing
Integration/System/Acceptance Testing

white box testing
black box testing


Each methods of software testing has different purpose and are suitable for different testing phase. I will focus only on the Black Box method for this blog.

The Black Box method is suitable for tester who would like to design testing but has no idea about software's internal algorithm. However, they know only the input and output of this software. If they have to select input for execute software testing, the test design technique will help them. There are some software testing tools for design which make our life easier also.

I will explain the detail of Test design technique of Black Box method in the next articles.

0 ความคิดเห็น:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More