GithubHelp home page GithubHelp logo

Jbehave-junit-runner incorrectly shows scenarios being executed when mata keywords applied in Jbehave 4 version about jbehave-junit-runner HOT 13 OPEN

falkoner avatar falkoner commented on September 3, 2024
Jbehave-junit-runner incorrectly shows scenarios being executed when mata keywords applied in Jbehave 4 version

from jbehave-junit-runner.

Comments (13)

falkoner avatar falkoner commented on September 3, 2024 1

@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.

falkoner avatar falkoner commented on September 3, 2024

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.

britter avatar britter commented on September 3, 2024

@falkoner is this a problem with jbehave-junit-runner or with jjbehave itself?

from jbehave-junit-runner.

falkoner avatar falkoner commented on September 3, 2024

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.

britter avatar britter commented on September 3, 2024

Okay, I'll need time to investigate.

from jbehave-junit-runner.

britter avatar britter commented on September 3, 2024

@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.

Guito avatar Guito commented on September 3, 2024

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.

valfirst avatar valfirst commented on September 3, 2024

@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.

cliviu avatar cliviu commented on September 3, 2024

@valfirst , is the new version already in mavencentral ?

from jbehave-junit-runner.

valfirst avatar valfirst commented on September 3, 2024

@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.

cliviu avatar cliviu commented on September 3, 2024

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.

valfirst avatar valfirst commented on September 3, 2024

@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.

cliviu avatar cliviu commented on September 3, 2024

ok, @valfirst, thanks, I will take a look

from jbehave-junit-runner.

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.