Open Kilda Java Documentation
_RunCucumberTest.java
Go to the documentation of this file.
1 /* Copyright 2017 Telstra Open Source
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 package org.openkilda.atdd;
17 
18 import cucumber.api.CucumberOptions;
19 import cucumber.api.junit.Cucumber;
20 import org.junit.runner.RunWith;
21 
22 /*
23  * The features option allows us to filter which directories to look at for features.
24  * The tags option allows us to select the scenarios within those features.
25  *
26  * At present, with an mvp1 directory and an mvp1 tag, one of these mechanisms isn't needed.
27  * However, we'll most likely merge the features back into a single directory, or follow some other
28  * structure.
29  */
30 @RunWith(Cucumber.class)
31 @CucumberOptions(
32  plugin = { "pretty", "html:target/cucumber" }
33  , features = {"src/test/resources/features/mvp.1","src/test/resources/features/mvp.tbd"}
34  , tags = {"@MVP1"}
35  )
36 public class _RunCucumberTest {
37 }