Setup

  • Function: Test that run before the main test suite execution
  • Purpose: Initialize test environment, create test data, or set up prerequisites

Teardown

  • Function: Test that run after the main test suite execution
  • Purpose: Clean up test environment, remove test data, or perform cleanup tasks

Before Each

  • Function: Tests that run before each individual test in the suite
  • Purpose: Set up conditions specific to each test case

After Each

  • Function: Tests that run after each individual test in the suite
  • Purpose: Clean up after each test case
Screenshot from 2025-07-21 18-51-04.png