Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to initialize Citrus instance - instance has already been initialized #357
But when I run all tests through Maven (
Seems like the Cucumber runner wants to re-build the Spring/Citrus context for each test class and after the first it fails because the context is already there.
By the way, I have moved the Cucumber dependencies before the Citrus dependencies as recommended in issue 209.
Is it not supported to have multiple Cucumber test runner classes in one project?
PS: I have another project with two test classes. Same picture, but a small difference: in this project I have one test class with two feature files and another test class with a single feature file. Here too, the second test runner class fails while the two feature files of the first test class are running fine. So multiple feature files for the same test class are not a problem.