DEV Community

saran kumar
saran kumar

Posted on • Edited on

types of black box testing...

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:

  1. it is based on requirements
  2. in that we enhance the behaviour of application.
  3. it can be done with manual and automation.
  4. check to ensure software free of bugs.
  5. it is based on business requirement.
  6. examples: unit testing, smoke testing, regression testing, integration testing .

Non-functional testing:

  1. it is based on expectation of customer.
  2. it enhance performance of application.
  3. it performs only in automation.
  4. it ensure to software to performs in high-levels.
  5. it is based on performance requirement.
  6. 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)