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

Using spring @ContextHierarchy to manage multiple @ContextConfiguration's breaks with 1.1.5 #590

Merged
merged 1 commit into from
Oct 15, 2013

Conversation

martinlau
Copy link
Member

The new version of SpringFactory includes the code:

    private boolean dependsOnSpringContext(Class<?> type) {
        return type.isAnnotationPresent(ContextConfiguration.class);
    }

This should probably be extended to:

    private boolean dependsOnSpringContext(Class<?> type) {
        return type.isAnnotationPresent(ContextConfiguration.class)
            || type.isAnnotationPresent(ContextHierarchy.class);
    }

@aslakhellesoy
Copy link
Contributor

Can you send a pull request with a test for this please?

@ghost ghost assigned ffbit Oct 12, 2013
@aslakhellesoy
Copy link
Contributor

@ffbit I've assigned this one to you. If you're busy, can you pass it on to @pasviegas please?

@pasviegas
Copy link
Contributor

Hey Aslak, I can do that! I'll look into it on monday!

Thanks, Pedro

On Oct 13, 2013, at 2:44 AM, Aslak Hellesøy notifications@github.com wrote:

@ffbit I've assigned this one to you. If you're busy, can you pass it on to @pasviegas please?


Reply to this email directly or view it on GitHub.

@pasviegas
Copy link
Contributor

Yeah @aslakhellesoy that's is exactly what is happening. The pr seems good for me.

@aslakhellesoy
Copy link
Contributor

Thanks @pasviegas - can you merge it to master and update History.md please?

@ffbit
Copy link
Contributor

ffbit commented Oct 15, 2013

Great job, @martinlau!

ffbit pushed a commit that referenced this pull request Oct 15, 2013
Using spring @ContextHierarchy to manage multiple @ContextConfiguration's breaks with 1.1.5
@ffbit ffbit merged commit 2e27783 into cucumber:master Oct 15, 2013
@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot unassigned ffbit Oct 25, 2018
@aslakhellesoy
Copy link
Contributor

Hi @martinlau,

Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾

In return for this generous offer we hope you will:

  • ✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
  • 💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
  • 💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
  • ℹ️ Don't feel obliged to help, just do what you can if you have the time and the energy.
  • 🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants