Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20335

Include time spent on "setUp" in test execution time

$
0
0

I use Gradle 6.6 RC6 with TestNG 7. Several of my tests spend a lot of time in the code surrounding the test, i.e. setting up the Spring context, and doing things in setUp (@BeforeMethod). Sadly, this time is not shown in the “Tests” overview of my build scan.

Is there a way to include this time? Is there any other comfortable way to identify tests that are slow because of (mostly) code outside the individual @Test method?


Viewing all articles
Browse latest Browse all 20335

Trending Articles