Code Monkey home page Code Monkey logo

Comments (2)

jayboyi avatar jayboyi commented on June 9, 2024 1

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.

sebaslogen avatar sebaslogen commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.