Skip to content

Package: CucumberProperty

CucumberProperty

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2017, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.qa.common.cucumber;
14:
15: import java.lang.annotation.Repeatable;
16: import java.lang.annotation.Retention;
17: import java.lang.annotation.RetentionPolicy;
18: import java.lang.annotation.Target;
19: import java.lang.annotation.ElementType;
20:
21: /**
22: * Used as CucumberProperty repeatable annotation on CucumberWithProperties junit runner.
23: * It is used to set System property on Cucumber tests.
24: */
25: @Retention(RetentionPolicy.RUNTIME)
26: @Target({ElementType.TYPE})
27: @Repeatable(CucumberSystemProperties.class)
28: public @interface CucumberProperty {
29: String key();
30:
31: String value();
32: }