selectAndOrderIdsForTest static method

List<String> selectAndOrderIdsForTest(
  1. Map<String, EnsembleTestDefinition> byId,
  2. EnsembleTestSelection selection
)

Implementation

static List<String> selectAndOrderIdsForTest(
  Map<String, EnsembleTestDefinition> byId,
  EnsembleTestSelection selection,
) {
  return ExecutionPlanGraph.topologicalSort(
          ExecutionPlanGraph.applySelection(byId, selection))
      .map((d) => d.testCase.id)
      .toList();
}