allure-framework / allure-framework/allure2

Show Test case execution time inclusive of setup and tear down method

Open
#1,101 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
HTML
Stars
5.5k
Forks
782
Avg merge
2d 33m
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**
We have thousands of test cases running and a prerequisite method running for each of that test case, few months backs we observed that our test execution is slow but none of our test cases was taking more than 30 seconds to complete.
Later on, we found out that culprit was setup methods (BeforeMethod) and was taking more than 15 minutes in some cases.

**Describe the solution you'd like**
We want test case execution time shown for any test case to include the Setup and teardown method execution time as well.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Trace how the report currently records test-case duration, then determine how setup and teardown events should be included and verify the displayed duration against a test with slow prerequisites.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.