currentTestName property
A getter named currentTestName
that returns the current test name.
Implementation
@override
String get currentTestName {
final testName = Invoker.current?.liveTest.individualName;
return testName == null ? '' : testName.replaceAll(' ', '_').toLowerCase();
}