Some traditional white-box testing techniques may also be adapted to conduct black-box testing, such as control-flow and data-flow testing for external functional units instead of for internal executions.

Black-box testing may follow the generic testing process to perform planning, implementation and follow-up. In test planning, main attention is paid to detecting the external functions to test and deriving input conditions to test such functions.

The Meaning of Functional Testing In Software Project. Part II

The detected external functions are often associated with some user anticipations, from which both the input and the expected output can be derived to form the test cases.

For instance, for a compiler, the input is source code to be compiled; the output is the resulting object or executable code. Part of the expected behavior is system termination, that is, the compiler should produce some output within a limited time. Another part is that if illegal programs are provided as input, object or executable code will not be generated, and the reason should be given.

Consequently, a collection of programs to be compiled constitutes the test suite, or the collection of test cases. This test suite should characteristically contain both legal and illegal programs to cover the anticipated spectrum of input. The testing purposes may be stated explicitly as exit quality levels or implicitly as the completion of planned test cases.

The main goal of test implementation at the time of black-box testing is to monitor the external behavior, to assure orderly implementation of all test cases, and to record implementation info.

If the monitored behavior prototypes cannot be directly detected as failures, information requires to be recorded for analysis.

As soon as the implementation result is received analyses may be performed to compare the specific behavior and output with the expected ones. This comparison is needed to define whether it is expected behavior or if a failure happened is called the testing oracle problem.

In such a way black-box testing verifies if the observed behavior conforms to user anticipations or product specifications. Failures related to specific external functions can be observed, leading to follow-up activities where corresponding faults are identified and eliminated. The focus is on decreasing the possibilities of detecting functional troubles by target clients.

Information recorded at test implementation is used to recreate fault scenarios, to forecast defects, to find fault reasons and detect specific faults in software design and code, and to correct them.


http://qatestlab.com/

Share
Related Documents
  1. The Meaning of Functional Testing In Software Project. Part I (4333)
  2. Definitions and Meaning: Error, Fault, Failure and Defect (4843)
  3. Software Test Efficacy. Meaning and Calculation (3875)
  4. Safety Assurance And Failure Scope (3762)
  5. Software Fault Tolerance Methods (4572)
  6. Risk Identification Methods In Software Testing (4124)
  7. Software Bug Handling Process And Tools (4653)
  8. What Is Documentation Testing? (2967)
  9. Software Projects Analysis And Design (3584)
  10. Test Documents In The Software Development Lifecycle (3625)
  11. What Is Defect Removal Efficiency In Software Testing? (4403)
  12. Quality Assurance In Software Development Stage (3972)
  13. Main Software Testing Techniques (3798)
  14. Software Bug Handling In Various Quality Assurance Activities (3904)
  15. How Can We Reach Quantifiable Quality Improvement? (4201)
  16. Operating with Pre-/Post-Release Software Bugs (4104)
  17. Requirements-Based Testing (6665)
  18. Waterfall Process In the Quality Assurance Activities (4393)
  19. Direct And Indirect Quality Measures (4280)
  20. Quality Estimation And Improvement (4394)