public class TestGroup extends NamedDataGroup<STestRun>
Modifier and Type | Class and Description |
---|---|
static class |
TestGroup.Order |
NamedDataGroup.GroupExtractor<Item>
Constructor and Description |
---|
TestGroup(java.util.List<STestRun> tests)
Create root test group with given tests
|
TestGroup(TestGroupName groupName)
Create test group with given group name
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Return summary duration of the tests included into this group (with subgroups)
|
int |
getFailedTestCount() |
TestGroupName |
getGroupName()
Return low-level object for group name formatting
|
int |
getIgnoredTestCount() |
int |
getTestCount() |
void |
sortTestsByGroups()
Sort tests alphabetically considering suite, package, class, test name + parameters
|
addGroup, addItem, getGroups, getItems, getName, getParent, groupBy, removeGroup, setGroups, setItems, setParent, sortGroups, toString
public TestGroup(java.util.List<STestRun> tests)
tests
- tests for the grouppublic TestGroup(TestGroupName groupName)
groupName
- name of the grouppublic TestGroupName getGroupName()
public long getDuration()
public int getFailedTestCount()
public int getIgnoredTestCount()
public int getTestCount()
public void sortTestsByGroups()