top of page
Writer's picturetakery reddy

What black box testing?

What black box testing?

black box testing refers to the software testing method in which the SUT (Software Under Test) tested function without worrying about the details of implementation, knowledge of internal lines and internal structure of the software code.

Test method is really based on the specifications and requirements of the software.

The focus of black box testing are the output and input of the software system rather than internal knowledge of the program.

Systems that are experiencing this type of testing is considered a “black box”, and it can be either software such as databases, websites or Operating System.

black box testing

What Is The Purpose Of Black Box Testing?

Black box testing focuses on testing the complete functionality and system behavior.

This test method is also referred to as behavioral testing and functional testing.

This test method is very important during the testing phase of software life cycle such as regression testing, acceptance, unit, system, integration and software development.

The techniques of black box testing are beneficial for end users who want to perform software verification.

Black Box Testing Techniques

Here is a technique used when using black box testing of software applications.

BVA or Boundary Value Analysis:

It is one among the black box testing technique that is useful and important that helps in partitioning equality. BVA assist in software testing has limits or extreme values.

This technique is able to identify the shortcomings of the limits of the input values ​​rather than focusing on the range of input values. Limit Value Analysis also relates to the extreme edges or output values.

Equivalence Class Partition:

Equivalence Class Partition

This technique is widely Black box testing is used to write test cases. This can be useful in reducing a broad set of possible inputs for a smaller but effective.

This is done by dividing the input as a class, and each class rated.

It is applied when the need for in-depth testing appear and to reject input redundancy.

State Transition Testing

This technique is usually considering the circumstances, output, and input from the system during a given time period.

Based on the type of software being tested, it checks for changes in the behavior of a system in a particular state or another state while maintaining the same input.

Test case for this technique was created by examining the sequence of transitions and states or events between input.

The whole set of test cases will have a traversal of the value of the expected output and all countries.

Examples of Black Box Testing

The example given below throws light on how this testing technique can be used to test certain software with a given input

While considering a shopping scenario,

Shop for $ 500 and receive a discount of 5%

Shop for $ 1000 and receive a discount of 7%

Shopping $ 1,500 or more and receive a 10% discount

With the help of this test Equivalence partitioning technique, it is possible to divide the input as four partitions, the number is less than 0, 0-500, 501-1000, 1001-1500, and so on. Details such as the maximum limit for shopping and product details will not be considered by this testing technique.

When the limit value is added to the partition, the limit value will be 0, 500, 501, 1000, 1001 and 1500. With BVA techniques, the values ​​below and above are usually tested, so that values ​​such as -1, 1 and 499 will be included. these values ​​will help in explaining the behavior of the input values ​​in the software.

According to State Transition Testing black box testing technique, when a shopper store above $ 1,500 twice a month, the status will change from Gold to Platinum, and if she does not shop for the next 2 months, the status will return to the Gold. Using more test cases, it is possible for the tester to track the complex.

Type Black Box Testing

There are several stages which are separated into different types, such as regression testing, unit testing, beta testing, integration testing, system testing, functional testing, load testing, etc. But, the kind that stand out are described below.

Functional Testing:

This type of testing is useful for testers to identify the functional requirements of the software or system.

Regression Testing:

This type of testing is done after system maintenance procedures, upgrade or repair code to determine the impact of the new code on the code before.

Non-Functional Testing:

This type of testing is not linked to testing for each specific function but related to non-functional parameters such as usability, scalability and performance.

2 views0 comments

Recent Posts

See All

Hozzászólások


bottom of page