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

[Spring] Inject CucumberContextConfiguration constructor dependencies #2664

Merged

Commits on Dec 16, 2022

  1. [Spring] Inject CucumberContextConfiguration constructor dependencies

    In #2661 classes annotated with `@CucumberContextConfiguration` were created as
    beans directly from the bean factory. This allowed them to be prepared as test
    instances by JUnit. However, we did not tell the factory that it should
    autowire constructor dependencies resulting in #2663.
    
    Additionally, because beans were created directly from the bean factory, they
    were not added to the application context. This meant that while dependencies
    could be injected into them, they could not be injected into other objects.
    
    Fixes: #2663
    mpkorstanje committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    1a55e41 View commit details
    Browse the repository at this point in the history