Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.

Parameters

Ivan Krutov edited this page Aug 25, 2014 · 13 revisions

Parameter is any value describing your test environment or current test case. For example, parameter can store things that don't change during all tests - test stand address or something that changes from test case to test case - test page URL.

Adding parameters in Java looks like (see https://github.com/allure-framework/allure-core/pull/286):

public class TestClass {
    ...
    @Parameter("My Param")
    private String myParameter;
    ...
}

Any value assigned to such field will be shown in report.