Comments (13)
@britter Any luck? Please let me know if I can help in any way. Though with update of IntelliJ to 15 (and the change in JUnit reporting results there) it all become way more broken for me.
from jbehave-junit-runner.
I guess we better downgrade to Jbehave core 3.10.0 or 3.9.5 meanwhile... Any ETA on this fix?
from jbehave-junit-runner.
@falkoner is this a problem with jbehave-junit-runner or with jjbehave itself?
from jbehave-junit-runner.
My understanding is that it's problem on jbehave-junit-runner side. Specifically in area of compatibility with Jbehave 4 branch. As result we downgraded Jbehave used in project to 3.10 from 4.0.1 and it works fine there now.
from jbehave-junit-runner.
Okay, I'll need time to investigate.
from jbehave-junit-runner.
@falkoner honestly, I'm not working on this project anymore. If you need a fix, you'll have to supply a PR with accompanying test cases. Sorry!
from jbehave-junit-runner.
Doing a currentScenario.getChildren().clear()
just before notifier.fireTestFailure(new Failure(currentScenario, new AssertionError("scenario failed!")));
in JUnitSecenarioReporter.afterScenario makes the result look a bit better. It's not perfect but at least it's possible to work with it.
from jbehave-junit-runner.
@falkoner, @Guito, new version is released:
<dependency>
<groupId>com.github.valfirst</groupId>
<artifactId>jbehave-junit-runner</artifactId>
<version>2.0.0</version>
</dependency>
It's based on JBehave 4.1.1. Have you had a chance to try it?
from jbehave-junit-runner.
@valfirst , is the new version already in mavencentral ?
from jbehave-junit-runner.
@cliviu , yes, it's already published, please, pay attention to the changed groupId
: http://repo1.maven.org/maven2/com/github/valfirst/jbehave-junit-runner/2.0.0/
from jbehave-junit-runner.
ok, so there is also package name change...
Are there any known issues of the old version (1.2.0) with JBehave 4.1.1 ? We have a problem with the After methods of the lifecycle ... see also : serenity-bdd/serenity-core#924
I will add this stacktrace also :
issue924.txt
from jbehave-junit-runner.
@cliviu , not sure if any matches your case, try to search: https://github.com/valfirst/jbehave-junit-runner/issues?utf8=%E2%9C%93&q=lifecycle. Is there any way to reproduce the issue without Serenity?
from jbehave-junit-runner.
ok, @valfirst, thanks, I will take a look
from jbehave-junit-runner.
Related Issues (20)
- Move to JUnit 5
- Suggestion on using this with WeldAnnotatedEmbedderRunner
- Handle RestartingScenarioFailure HOT 1
- Filtering out all scenarios in the story file causes NPE HOT 9
- How to make Junit runner read limited words from scenario and create .xml file from it. HOT 4
- I cannot start single scenario in eclipse HOT 5
- NPE on Failure.getTestHeader(Failure.java:44) when step throws assert in Lifecycle>After>FAILURE
- Using JUnitReportingRunner with pitest HOT 2
- Export the report in any other format
- Tests failing on master HOT 2
- How to generate the jbehave-surefire.xml file with parametrised examples HOT 5
- JUnitScenarioReporter throws NPE when story file name contains parentheses HOT 3
- Throws RuntimeException on scenario failure instead of java.lang.AssertionError HOT 2
- jbehave-junit-runner by maven and not from IDE HOT 7
- bad checksum on repo1.maven.org HOT 1
- Not showing correct test names in IntelliJ HOT 7
- Customize output monitor HOT 1
- Comments in scenario are reported as ignored HOT 10
- Remove fix for special IntelliJ handling
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 jbehave-junit-runner.