Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
Merge pull request #41 from sbtqa/removerunner
Browse files Browse the repository at this point in the history
remove TAGcucumber
  • Loading branch information
kosteman authored Jun 8, 2018
2 parents 519a967 + 7e8dec5 commit 538c4f1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
19 changes: 12 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<version.cucumber>2.4.0</version.cucumber>
</properties>
<distributionManagement>
<snapshotRepository>
Expand Down Expand Up @@ -71,13 +72,7 @@
<artifactId>core</artifactId>
<version>1.0.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>ru.sbtqa.tag</groupId>
<artifactId>cucumber-runner</artifactId>
<version>1.0.10</version>
<type>jar</type>
</dependency>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
Expand Down Expand Up @@ -150,6 +145,16 @@
<version>2.27</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>${version.cucumber}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<version>${version.cucumber}</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
13 changes: 7 additions & 6 deletions src/test/java/ru/sbtqa/tag/apifactory/CucumberTest.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
package ru.sbtqa.tag.apifactory;

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.eclipse.jetty.server.Server;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import ru.sbtqa.tag.apifactory.utils.JettyServiceUtils;
import ru.sbtqa.tag.cucumber.TagCucumber;
import ru.sbtqa.tag.parsers.JsonParser;

@RunWith(TagCucumber.class)
@CucumberOptions(monochrome = true, format = {"pretty"},
glue = {"ru.sbtqa.tag.stepdefs", "ru.sbtqa.tag.apifactory.stepdefs", "setting"},
features = {"src/test/resources/features"}
,tags = {"~@disabled"}
@RunWith(Cucumber.class)
@CucumberOptions(
glue = {"ru.sbtqa.tag.stepdefs.en", "ru.sbtqa.tag.apifactory.stepdefs"},
features = {"src/test/resources/features"},
tags = "~@disabled"

)
public class CucumberTest {

Expand Down

0 comments on commit 538c4f1

Please sign in to comment.