Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

Introduce Before|After All and Before|AfterEachTest logic #46

Open
@miroslavpojer

Description

@miroslavpojer

Background

In the design of test suites, there can be a useful ability to design common logic

  • before all suites and test will be started. Similar to after alternative.
  • before each test inside the suite for each test. Similar to after alternative.

Feature

  • Introduce logic for BeforeAll - logic will be started before all other logic
  • Introduce logic for AfterAll - logic will be started before all other logic
  • Introduce logic for BeforeEachTest - logic will be started before each test inside Suite where defined.
  • Introduce logic for AfterEachTest - logic will be started after each test inside Suite where defined.

Update:

  • Rename existing Before and After logic to BeforeSuite and AfterSuite to better fit.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions