Comments (6)
Hello ssneha345 and welcome!
For questions please one of the support options.
GitHub issues are used to report bugs or request features.
from cucumber-java-skeleton.
From the example provided, you have an interesting way of running Cucumber.
Common usage would be to run Cucumber from the command line, using class Main and providing the options as arguments.
Could you explain why you would only want to see the error only after the run? If your driver initialization fails (as per your example), wouldn't you want your test to fail right away?
from cucumber-java-skeleton.
you are right..if there is some error say for driver initialization test should fail right away..which is happening..but i also want to know why the test fail , may be with the help of some exception thrown or just like in junit.result we have result.getFailures(), via which we can know the failure and its reason.
from cucumber-java-skeleton.
if i can get the exception thrown from the cucumber code in the @after method of hooks. i think that will also satisfy my need.
from cucumber-java-skeleton.
@ssneha345 Ok, do I understand correctly that you want to know why it failed?
Afaik I get a stack trace in my console when running tests locally and they fail. I'm running my test from a JUnit runner (like the RunCukesTest in this example project). Could you give that a try, please?
from cucumber-java-skeleton.
I'm closing this since it's a question and not a bug report or feature request.
from cucumber-java-skeleton.
Related Issues (20)
- download and run gradle build fail HOT 5
- different branches for gradle / maven? HOT 2
- Project did not run HOT 10
- Runs fine in gradle; loses step definitions in IntelliJ HOT 3
- gradle version does not work HOT 1
- Upgrade Java Skeleton to V5
- Person class doesn't exist HOT 2
- Help with this Cucumber Scenario?? HOT 7
- How to disable cucumber message in eclipse HOT 1
- Help with this Cucumber Scenario??
- mvn test BUILD SUCCESS instead of FAILURE after adding TestNG HOT 1
- Action Required: Fix Renovate Configuration
- WARNING: You are using deprecated Main class. Please use io.cucumber.core.cli.Main HOT 13
- Help Needed: Cucumber Test with Spring Boot from Executable Jar HOT 1
- Dependency Dashboard
- Failed gradle test task from the skeleton project. HOT 4
- Cucumber multiple tags not supported for the version 7.9.0 using Junit runner HOT 1
- UndefinedStepException HOT 2
- StepDefinitions should have at least one assert to call it as BDD test HOT 2
- `Step undifined` for demo project
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 cucumber-java-skeleton.