Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

testing
software testing

What is functional testing?

Behzad Ahmad

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Functional testing is a part of black-box testing where the internal implementation of development is unknown to the tester. In this process, we form the test cases based upon the specifications of the software component under consideration. We do this to compare the actual functionality of the program component with the function requirements.

We test the functions by giving the input and then examining the output. In this type of testing, the internal structure of the program is rarely considered.

Steps of functional testing

Functional testing involves five main steps:

  1. Identify the functions that the software is expected to perform.

  2. Create the input values based on the functionality of the system.

  3. Determine the output based on the functionality of the system.

  4. Execute the test cases.

  5. Compare the actual results with the expected results.

Advantages

  • Simulates the actual usage of a system.

  • Does not make any assumptions about the behavior of the system.

Disadvantages

  • There is a chance of missing logical errors in the program.

  • There is a high possibility of redundant testing.

RELATED TAGS

testing
software testing

CONTRIBUTOR

Behzad Ahmad
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring