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?