100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Software Testing $7.39   Add to cart

Class notes

Software Testing

 5 views  0 purchase
  • Course
  • Institution
  • Book

Types and levels of testing encompass various methodologies to ensure software quality: unit, integration, and system testing validate different components, while acceptance, performance, and security testing evaluate overall functionality, performance, and security of the software.

Preview 3 out of 24  pages

  • April 16, 2024
  • 24
  • 2023/2024
  • Class notes
  • Arti shivtare
  • All classes
avatar-seller
Unit 2: Types and Levels of Testing

CO2 : Prepare test cases for different types and levels of testing.


Levels of Testing




Unit Testing
Unit Testing is a level of software testing where individual units/ components of a
software are tested. The purpose is to validate that each unit of the software performs as
designed.
Unit Testing is the first level of testing and is performed prior to Integration
Testing. A unit is the smallest testable part of software. It usually has one or a few
inputs and usually a single output.
It is executed by the Developer.
Unit Testing is performed by using the White Box Testing method
Example: - A function, method, Loop or statement in program is working fine.




Page 1

, Unit 2: Types and Levels of Testing




Drivers

Drivers are used in bottom-up integration testing approach.
It can simulate the behavior of upper-level module that is not integrated yet.
Drivers modules act as the temporary replacement of module and act as the actual
products.
Drivers are also used for interact with external system and usually complex than stubs.
Driver: Calls the Module to be tested.
Now suppose you have modules B and C ready but module A which calls functions from
module B and C is not ready so developer will write a dummy piece of code for module A
which will return values to module B and C. This dummy piece of code is known as driver.

Stubs

Stubs are used in top down integration testing.
It can simulate the behavior of lower-level module that are not integrated.
They are act as a temporary replacement of module and provide same output as actual
product.
When needs to intact with external system then also stubs are used.
Stub: Is called by the Module under Test.
Assume you have 3 modules, Module A, Module B and module C. Module A is ready and
we need to test it, but module A calls functions from Module B and C which are not ready,
so developer will write a dummy module which simulates B and C and returns values to
module
A. This dummy module code is known as stub.

Importance of Stubs and Drivers

Page 2

, Unit 2: Types and Levels of Testing




Page 3

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller anushkahegade. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.39. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

66579 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.39
  • (0)
  Add to cart