What is the difference between Functional and Non Functional testing? Give some examples to support your answer.
Functional testing:
i) Functional testing is a type of software testing, which verifies the functionality requirements of the developed software.
ii) Functionality testing focuses on the user requirements.
iii) It is done during the development phase of the application.
iv) Types of testing followed here are : Unit testing, regression testing, system testing, sanity testing, smoke testing, retesting.
Unit testing: Validating the smallest part of the component which is developed is called unit testing.
Regression testing: Testing the complete software after the fix of any bugs in the application is called regression testing.
Smoke testing: Making sure that the developed build is steady and is suitable for next phase of testing is called smoke testing
v) Can be done by both manual and automation testing.
vi) *Example: *
- User unable to add the product which is in stock to the cart in any ecommerce website.
- Ordering through applications like Flipkart, Amazon, Meesho, Zomato
Non Functionality testing:
i) Non Functional testing is a type of software testing, which verifies the Non functionality requirements of the developed software.
ii) Non Functionality testing focuses on the user expectations.
iii) It is done after the completion of functionality testing.
iv) Types of testing followed here are: Performance testing, usability testing, stability testing, scalability testing.
Performance testing: Validation of the application by giving large amount of workload is called performance testing.
Stability testing: Verifying whether the developed application can run in different environments is called stability testing.
v) Requires automation tools for effective results.
vi) Example:
- The time taken to load any webpage should be less than 3 seconds.
- Increased number of users should not cause any delay or defect in loading the application.
Top comments (0)