Black box testing:
-the testers will analyse the software against requirement,
identifies bugs and send back to developers side.
- in other words, checking the functionality of an software as per customer requirements.
-Functional and non-functional are the types of black box testing
Functional testing:
-The purpose of Functional test is to test each and every functionality of the software application, by providing appropriate input, verifying the output against the Functional requirements.
Non- functional testing:
-non-functional testing is focus only on performance, reliability, scalability and other non-functional testing methods . it not focus on functionality of software.
-once we completed functional testing and than we will carried out non functional testing.
Difference between functional and non-functional testing are:
Functional testing:
- it is based on requirements
- in that we enhance the behaviour of application.
- it can be done with manual and automation.
- check to ensure software free of bugs.
- it is based on business requirement.
- examples: unit testing, smoke testing, regression testing, integration testing .
Non-functional testing:
- it is based on expectation of customer.
- it enhance performance of application.
- it performs only in automation.
- it ensure to software to performs in high-levels.
- it is based on performance requirement.
- example: performance, load, stress, scalability testing.
Example of a Functional Test
A flipkart app wants to add home delivery of products to its
app. One of the features is an “Add to Cart” button. A unit
test will be run to verify the individual button’s validity.The app wants to show their product delivery time based on
their GPS data. Verifying this function requires a** module
test**, as it requires multiple units to work together to get the
expected result.The app offers users the ability to directly transfer money from
their bank account to the app’s own “wallet” for faster
purchases. At this point, two modules come into play and tests
must be run to check how well they integrate to get the job
done. we use integration tests.
Examples of Non-Functional Tests
An ecommerce app must be optimized to handle heavy user traffic
for the upcoming 'Big Billion Day'.Load tests, recovery tests,
and volume tests must be run to ensure that it does not buckle
and bend under a wildly increased inflow of users.Your website homepage has a blue image with flipkart text on
it. Visual tests are needed to check if the image shows up
clearly, unobstructed, and left side of screen on different
browsers, devices.
Top comments (0)