Functional Testing: Testing that each feature does what the requirements say it should, by giving inputs and checking the outputs, without looking at the internal code.
Example
To test the "apply coupon" feature, you enter a valid coupon, an expired one, an invalid code, and an empty field, and check that each gives the correct discount or error message.
Functional vs Non-Functional Testing
| Functional testing | Non-functional testing | |
|---|---|---|
| Checks | What the system does | How well it does it |
| Based on | Functional requirements | Non-functional requirements |
| Examples | Login, search, payment work correctly | Speed, load, security, usability |
Types of Functional Testing
- Unit testing: individual functions.
- Integration testing: parts working together.
- System testing: the whole application.
- Smoke testing: quick checks on a new build.
- Regression testing: old features still work after changes.
- User acceptance testing: business users confirm it meets their needs.
Writing Good Functional Tests
Start from the requirement and its acceptance criteria. Cover the main path, invalid inputs, empty values, and limits (boundary values, such as the maximum allowed quantity). Each check becomes a clear test case with expected results.
Related terms
- Functional Requirement: what functional tests check.
- Test Case: the unit of functional testing.
- Software Testing: the broader discipline.
- Manual Testing: a common way to run functional tests.
Previous term: Functional Requirement | Next term: Generative AI
Related guides
- Software Development vs Testing
- Technical Interview Questions for Freshers
- How to Choose the Right IT Career Path
Frequently asked questions
What is functional testing?
Functional testing checks that each feature works according to its requirements, by testing inputs and outputs.
What is the difference between functional and non-functional testing?
Functional testing checks what the system does. Non-functional testing checks qualities like speed, security, and usability.
Is functional testing black-box testing?
Usually yes: testers check behaviour without looking at the internal code.
Can functional testing be automated?
Yes. Repeated functional tests, such as regression suites, are commonly automated.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms