public class ReportNamer extends Object
| Constructor and Description |
|---|
ReportNamer(ReportType type,
boolean compressedFilename) |
| Modifier and Type | Method and Description |
|---|---|
static ReportNamer |
forReportType(ReportType type) |
String |
getNormalizedTestNameFor(Story userStory) |
String |
getNormalizedTestNameFor(String name) |
String |
getNormalizedTestNameFor(TestOutcome testOutcome)
Return a filesystem-friendly version of the test case name.
|
String |
getNormalizedTestReportNameFor(String testName) |
String |
getSimpleTestNameFor(TestOutcome testOutcome)
Return a filesystem-friendly version of the test case name.
|
String |
optionallyCompressed(String text) |
ReportNamer |
withNoCompression() |
ReportNamer |
withPrefix(String prefix) |
public ReportNamer(ReportType type, boolean compressedFilename)
public static ReportNamer forReportType(ReportType type)
public String getNormalizedTestNameFor(TestOutcome testOutcome)
public String getSimpleTestNameFor(TestOutcome testOutcome)
public ReportNamer withNoCompression()
public ReportNamer withPrefix(String prefix)
Copyright © 2023. All rights reserved.