public class MavenRunCounter extends Object
Modifier and Type | Class and Description |
---|---|
class |
MavenRunCounter.Counter
Class representing all expectation counting data for a single scenario in a Feature.
|
Constructor and Description |
---|
MavenRunCounter() |
Modifier and Type | Method and Description |
---|---|
List<MavenRunCounter.Counter> |
count(List<String> versionControlSystemsBlacklist,
List<String> blacklist,
List<String> manager,
File scenarioFolder)
Runs the counting process to figure out expected test runs results (Runs, Failures, Errors, Skipped).
|
protected String |
generateExpected1(String type,
int failures,
int scenarios) |
protected String |
generateExpected2(String type,
int run,
int failures,
int skipped,
int scenarios) |
static List<String> |
listFilesForFolder(List<String> versionControlSystemsBlacklist,
File folder) |
void |
print(List<MavenRunCounter.Counter> counters,
String type) |
public static final String Z_MANAGER
public List<MavenRunCounter.Counter> count(List<String> versionControlSystemsBlacklist, List<String> blacklist, List<String> manager, File scenarioFolder) throws TechnicalException
versionControlSystemsBlacklist
- a list of control system files that won't be countedblacklist
- a list of scenarios that won't be countedmanager
- a list of scenario that should be run at the very endscenarioFolder
- root folder of Gherkin scenariosMavenRunCounter.Counter
TechnicalException
- is throws if you have a technical error (format, configuration, datas, ...) in NoraUi.
Exception with message and with screenshot and with exception if functional error but no screenshot and no exception if technical error.public void print(List<MavenRunCounter.Counter> counters, String type)
public static List<String> listFilesForFolder(List<String> versionControlSystemsBlacklist, File folder)
protected String generateExpected2(String type, int run, int failures, int skipped, int scenarios)
Copyright © 2023 NoraUi. All rights reserved.