All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rythm.~test.html Maven / Gradle / Ivy


@import org.osgl.Lang
@import act.test.Scenario
@import act.test.Interaction
@args List result, boolean failure


  
  @ifNot(failure) {
  
  } else {
  
  }
  
  
  @render(head)


Test Report

@(_app.name())-@(_app.version().getVersion())

@for(Scenario scenario: result) {

@scenario.title() @if(scenario.issueUrl) {   } @if(scenario.ignore) {
  • - @scenario.getIgnoreReason()
} @if(Lang.not(scenario.ignore) && !scenario.status.pass()) { @if(scenario.source) { Re-run scenario > } else {    Re-run scenario > } }

@if(Lang.not(scenario.ignore) && !scenario.status.pass() && null != scenario.errorMessage && !scenario.errorMessage.contains("Interaction[")) {
[@scenario.status] @scenario.errorMessage @if(null != scenario.cause && (!(scenario.cause instanceof act.test.util.ErrorMessage))) {
@scenario.causeStackTrace()
  
}
} @ifNot(scenario.ignore) {
    @for (Interaction interaction: scenario.interactions) {
  • [@interaction.status] @interaction.description.capFirst() @if(interaction.errorMessage) {
    - @interaction.errorMessage
    @if(interaction.cause != null && (!(interaction.cause instanceof act.test.util.ErrorMessage))) {
    @interaction.causeStackTrace()
    
    } }
  • }
} } [email protected]()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy