testCount property
int
get
testCount
The number of tests (recursively) in this group.
Implementation
int get testCount {
if (_testCount != null) return _testCount!;
_testCount = entries.fold<int>(
0,
(count, entry) => count + (entry is Group ? entry.testCount : 1),
);
return _testCount!;
}