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

app.getxray.xray.junit.customjunitxml.XrayTestReporter Maven / Gradle / Ivy

Go to download

Improvements for JUnit that allow you to take better advantage of JUnit 5 (jupiter engine) whenever using it together with Xray Test Management.

The newest version!
/*
 * Copyright 2021-2021 the original author or authors.
 *
 * All rights reserved. This program and the accompanying materials are
 * made available under the terms of the Eclipse Public License v2.0 which
 * accompanies this distribution and is available at
 *
 * https://www.eclipse.org/legal/epl-v20.html
 */

package app.getxray.xray.junit.customjunitxml;

public interface XrayTestReporter {

    String XRAY_PREFIX = "xray:";
    String TESTRUN_COMMENT = "xray:comment";
    String TESTRUN_EVIDENCE = "xray:evidence";
    String TESTRUN_CUSTOMFIELD_PREFIX = "xray:testrun_customfield:";

    void addComment(String comment);

    void setTestRunCustomField(String field, String value);

    void setTestRunCustomField(String field, String[] values);

    void addTestRunEvidence(String filepath);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy