Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stories with repeated steps don't get executed? #68

Open
flozano opened this issue Sep 2, 2014 · 2 comments
Open

Stories with repeated steps don't get executed? #68

flozano opened this issue Sep 2, 2014 · 2 comments

Comments

@flozano
Copy link
Contributor

flozano commented Sep 2, 2014

I'm seeing this behavior:
image

CopyOfBaconStory and copy_of_bacon_story.story are copies of BaconStory and bacon_story, respectively.

I execute it by JUnit-running the whole project. If I execute each story individually, I get the CopyofBaconStory story working and behaving the way it was expected.

@flozano
Copy link
Contributor Author

flozano commented Sep 2, 2014

The ****Story files look like:

@RunWith(JUnitReportingRunner.class)
public class CopyOfCookBaconStory extends JUnitStory {

    public CopyOfCookBaconStory() {
        JUnitReportingRunner.recommendedControls(configuredEmbedder());
    }

    @Override
    public Configuration configuration() {
        return new MostUsefulConfiguration();
    }

    @Override
    public InjectableStepsFactory stepsFactory() {
        return new InstanceStepsFactory(configuration(),
                new BaconCookingSteps());
    }

}

@flozano
Copy link
Contributor Author

flozano commented Sep 2, 2014

Tried 1.1.2 and 1.2.0-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant