Comments (2)
i'm not able to find those..
any hint..
and the command ./gradlew test i -Dcucumber.options="--tags @$gatewayname" is not running. If i see the Jenkins gradle commands it's starting the test with + ./gradlew build . But i gave above command to run tag wise...
here my tag is SDT but its starting the very first feature file on the test run and failing with exception.
gateway is SDT
- chmod 777 ./gradlew
- ./gradlew clean assemble
Starting a Gradle Daemon (subsequent builds will be faster)
Task :clean UP-TO-DATE
Task :compileJava NO-SOURCE
Task :processResources NO-SOURCE
Task :classes UP-TO-DATE
Task :jar
Task :assemble
BUILD SUCCESSFUL in 4s
2 actionable tasks: 1 executed, 1 up-to-date
- ./gradlew build
Task :compileJava NO-SOURCE
Task :processResources NO-SOURCE
Task :classes UP-TO-DATE
Task :jar UP-TO-DATE
Task :assemble UP-TO-DATE
Task :compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Task :processTestResources
Task :testClasses
Task :test
Gradle suite > Gradle test > regressionSuite.TestRunner.feature[0](Address Verification) FAILED
cucumber.runtime.CucumberException at TestRunner.java:64
Caused by: java.lang.AssertionError at Assert.java:94
1 test completed, 1 failed
from cleanguitestarchitecture.
My only suggestion would be to try to figure out the differences between your local execution environment and the one in Jenkins, like gradle version, Java version, etc.
from cleanguitestarchitecture.
Related Issues (20)
- Questions : no test were found HOT 2
- Gradle Tasks failed after execution HOT 2
- Run specific feature HOT 1
- Cucumber reports are not generated HOT 7
- Undefined step(s) returned when executing feature file HOT 14
- Exception while taking the screenshot HOT 2
- Running feature seems to fail. HOT 3
- Only works for Android 5.1 HOT 3
- How to run multi step definitions file HOT 6
- Question : Reset app state between scenario HOT 1
- Getting "cucumber.runtime.CucumberException" error on running the "StepDefinitions" HOT 19
- Spoon report and screenshots HOT 3
- Getting error "java.lang.AbstractMethodError at cucumber.runtime.UndefinedStepsTracker" HOT 1
- Unable to find element in a webview using onWebView method after SDK 27 update HOT 1
- Getting pending exception when i run my runner file in cucumber HOT 2
- Issue java.lang.NoSuchMethodError: com.aventstack.extentreports.reporter.ExtentHtmlReporter.loadXMLConfig(Ljava/io/File;)
- Cucumber Tests to be run in JMeter. Getting "Could not initialize class io.cucumber.core.options.PluginOption" HOT 2
- Trace -- java.lang.NoSuchMethodError: io.cucumber.tagexpressions.TagExpressionParser: method 'void <init>()' not found
- plugin in Cucumber runner class are showing attribute undefined. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cleanguitestarchitecture.