Functional testing
Functional testing evaluates whether software performs specified functions and produces the required behavior for given inputs and conditions.
Practices of the Python Pro
A functional test evaluates software behavior by supplying input, determining expected output, obtaining actual output, and comparing the results.
- How it is used
- Verifies that software behaves correctly before performance work and supports confidence during refactoring.
- How deep it goes
- Defines four test steps, demonstrates Python implementation, and compares unit, integration, manual, and performance testing without low-level internals.
- Examples
- Uses mean calculation, e-commerce cart behavior, product SKU transformations, shopping-cart assertions, and an over-removal edge case.
- What you can do after
- Apply it via unittest or pytest to write assertions, detect failures, test alternate outcomes, and build confidence incrementally.
Read how Practices of the Python Pro explains functional testing →
The Cloud at Your Service: The when, how, and why of enterprise cloud computing
Testing that checks whether software behaves according to its specified functions and requirements.
- How it is used
- Supports end-to-end quality feedback and more frequent release decisions in cloud-based development.
- How deep it goes
- Explains test setup, runtime costs, parallel execution, and environment trade-offs without detailed implementation code.
- Examples
- Uses Selenium-recorded browser interactions and a web application with a clean database to illustrate automated functional tests.
- What you can do after
- Evaluate functional test feedback delays and testing environment cost risks when planning automation.
Functional Design and Architecture: Examples in Haskell
Testing that evaluates specified functionality or an isolated unit of application logic without invoking real external services.
- How it is used
- Reduces project risk by validating functional requirements and contracts through isolated tests rather than exercising real external services.
- How deep it goes
- Defines scope, isolation, and testing boundaries, but does not provide a detailed execution procedure or implementation walkthrough.
- Examples
- Uses the Labyrinth console game as a domain example and frames subsystems, modules, and functions as possible test targets.
- What you can do after
- Evaluate/understand it by distinguishing isolated functionality tests from integrated tests involving real subsystems and services.
Read how Functional Design and Architecture: Examples in Haskell explains functional testing →
Also covered in
- Shipping Go: Develop, deliver, discuss, design, and go again
- Web Components in Action
- Memory Safe C++In early access (MEAP)
- The Design of Web APIs, Second Edition
- AI Agents and Applications
- The Well-Grounded Python Developer: How the pros use Python and Flask
What to know first
- componentA software component is a modular part of a software system that encapsulates related functionality and interacts with other parts through defined boundaries.
- architectural subsystemAn architectural subsystem is a distinct, cohesive part of a larger system that provides related functionality through interacting components and defined boundaries.
- contractA contract is an agreed specification of the conditions, expectations, rights, or obligations that govern behavior or interactions between parties or software components.
Related concepts
- software testingkind of · Software testing is the systematic evaluation of software under specified inputs or conditions to assess its behavior against expected results or requirements and identify defects.
- labeluses · A label is a target value, category, or reference annotation associated with an example for learning, prediction, or evaluation.
- contract testingcontrasts with · Contract testing is a software testing technique that checks whether interacting components conform to an agreed interface or behavioral contract.
- performance testingcontrasts with · Performance testing evaluates a system’s responsiveness, throughput, scalability, stability, or resource use under specified workloads and operating conditions.
- Seleniumimplemented by · Selenium is an open-source suite of tools and APIs for programmatically automating web browsers and interacting with web applications.
Questions about functional testing
What is functional testing?
Functional testing evaluates whether software performs specified functions and produces the required behavior for given inputs and conditions.
Which Manning books explain functional testing?
Practices of the Python Pro, The Cloud at Your Service: The when, how, and why of enterprise cloud computing and Functional Design and Architecture: Examples in Haskell.
What should I know before learning functional testing?
Manning books that teach functional testing usually introduce component, architectural subsystem and contract first.
What is the difference between functional testing and contract testing?
Functional testing evaluates whether software performs specified functions and produces the required behavior for given inputs and conditions. Contract testing is a software testing technique that checks whether interacting components conform to an agreed interface or behavioral contract.
What is functional testing a kind of?
Functional testing is a kind of software testing. Software testing is the systematic evaluation of software under specified inputs or conditions to assess its behavior against expected results or requirements and identify defects.
What is functional testing also called?
Functional testing is also called functional test.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


