DEV Community

Keerthana M
Keerthana M

Posted on

Test case writing:

TEST CASE WRITTING IS BASED ON THESE REQUIREMENT:

BRS: Business Requirement Specification
FRS: Functional Requirement Specification
SRS: System Requirement Specification

When should write test case?

  • under-development stage.

Cross functional testing : (Testing with one another)

  • developer and tester cross test the development.

Unit testing :
-Unit testing is done by the developers(it is also called as Modular testing)

Integration Testing:

  • It is done by Teters.
  • There are two types of Integration Testing:
  • Top-Down Approach
  • Bottom-Up Approach

Top-Down Integration Testing

  • In Top-down Integration Testing, high-level modules are tested first, and lower-level modules are integrated step by step.
  • Uses stubs to simulate lower-level modules during early testing.
  • Helps validate system architecture and major workflows early in development.
  • Ensures critical business logic is tested before full system integration

Bottom-Up Integration Testing

  • In Bottom-Up Integration Testing, lower-level modules are tested first, followed by gradual integration of higher-level modules.
  • Uses test drivers to simulate higher-level modules that are not yet available.
  • Focuses on validating internal module logic and data flow first.
  • Defects in core components are easier to detect and fix early.

1. Testing Environment preparation:
Example: OS, BROWSER, NETWORK, HARDWARE.

2.Test Bed Preparation:

  • Testbed is a controlled, isolated environment containing the specific hardware, software, network configurations, test data, and tools needed to run and validate tests on a system.
  • It allows teams to safely evaluate software or technology under realistic conditions without risking live production systems.

DIFFERENCE BETWEEN STUB AND DRIVERS:

DIFFERENCE BETWEEN ERROR, BUG AND DEFECT:

Top comments (0)