When exporting JUnit test results to TestRail I get the following error:
{"error":"Field :results.elapsed is not in a valid time span format."}
My tests have results.elapsed set to 0s which is not supported by TestRail. The minimum value supported is 1s:
https://discuss.gurock.com/t/elapsed-field-datatype-api-question/1089/27
Does anyone else have this problem?
Suggested fix for Result.java, line 47:
public String getElapsedTimeString() { return Math.max(1, elapsed.intValue()) + "s"; }
When exporting JUnit test results to TestRail I get the following error: {"error":"Field :results.elapsed is not in a valid time span format."} My tests have results.elapsed set to 0s which is not supported by TestRail. The minimum value supported is 1s: https://discuss.gurock.com/t/elapsed-field-datatype-api-question/1089/27
Does anyone else have this problem?
Suggested fix for Result.java, line 47:
public String getElapsedTimeString() { return Math.max(1, elapsed.intValue()) + "s"; }