Comments (5)
from cucumber.
@asolntsev thanks for the response, much appreciated.
Seems for some reason text reports are not generated when configured with Cucumber.
So I took a step back and checked out Selenide examples: Cucumber project and even that didn't generate text reports. I see that project is already configured to generate a report (jUnit @rule & slf4j-simple) as per report doc.
Here is the console output from my run, not sure what am missing here to see text report.
Steps followed:
- In Intellij
- Check out Selenide examples: Cucumber
- Added dependency 'org.slf4j:slf4j-log4j12:1.7.32'.
- Downloaded dependencies
- Run
mvn
Note: Also tried below
- By adding
cucumber.iml
- Explicitly setting
onFailedTest
&&onSucceededTest
to true in @before hook of Cucumber.
from cucumber.
@asolntsev further to my previous comment, When I went ahead and added a sample TestNg test in my Cucumber-TestNg project then I see text report in console, as you can see in the screenshot.
However, unfortunately, the same doesn't seem to work with Cucumber combination.
Please let me know if it's something that can be looked at?
Thanks !!!
from cucumber.
@vrajasg According to cucumber/cucumber-jvm#393, Cucumber doesn't support JUnit annotatation @Rule
. We cannot fix it in Selenide. :(
from cucumber.
@vrajasg I have update the example project with an Cucumber-specific implementation of TextReport
. Now it works with JUnit4 too.
from cucumber.
Related Issues (5)
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.