DEV Community

UdhayaNithi7
UdhayaNithi7

Posted on

Functional vs Non-Functional Testing

Functional Testing:
Functional testing is a type of software testing technique that verifying the software application's functions work as intended and meet the specified requirements. it validate the functionalities of the software and behaves on user perspective. functional testing comes under the black box testing method. it performed to find the functioning of software as the specified requirement.

  • Unit testing, integration testing, system testing, user acceptance testing, regression testing are comes under functional testing.
  • Test cases are design are based on functional requirements, often specified in user stories, or functional specifications.
  • It works on identifying defects related to incorrect functionality, such as incorrect outputs, improper calculations.
  • software testing is highly focuses on validation like checking whether the software meets user needs and requirements.
  • usually this type of testing conducted throughout the development cycle, including unit testing, integration testing, system testing, and user acceptance testing.
  • Examples:
  • Login Functionality: Testing login functionality of the application using valid and invalid credentials.
  • Form Submission: Verifying the software or web application that collects forms and store user data accurately and securely.

Non Functional Testing:
Non-functional testing is a type of software testing evaluates the attributes of a software application that are not directly related to its specific functions. Unless functional testing it assess the performance of task under various conditions and how well it handles different condition and quality attributes.

  • load testing, stress testing, Performance testing, security testing, usability testing are comes under non functional testing
  • Non-functional testing aims to evaluate the software's attributes like , security, usability performance, and more.
  • Test scenarios are based on security standards, performance targets, and usability guideline.
  • It mainly identifies defects related to , security vulnerabilities, performance bottlenecks, security vulnerabilities, usability issues.
  • It works on verification like checking whether the software meets quality and technical attributes. it executed after functional testing
  • Examples:
  • _Performance Testing: _Assessing the response time of a web application under different user loads.
  • Compatibility Testing: Verifying a mobile app works seamlessly works in various devices, such as smartphones and tablets, with different screen sizes and resolutions.

Top comments (0)