• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cucumber / cucumber-jvm / 3987
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 23 Apr 2020 05:45PM UTC
Jobs 1
Files 356
Run time 25s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3987

push

travis-ci

web-flow
[Spring] Remove cucumber.xml and implied context configuration (#1959)

The preferred way to use `cucumber-spring` is to annotate a class
with both `@CucumberContextConfiguration` and a Spring context
configuration annotation such as `@ContextConfiguration`,
`@SpringBootTest`, ect.

Previously Cucumber would support the discovery of context
configuration on any step definition class. This requires a
significant amount of code and intimate knowledge of the
Spring Framework.
By restricting this too only classes annotated with
`@CucumberContextConfiguration` we remove this complexity and
simply pass the annotated class to Spring `TestContextManager`
framework.

If no context configuration is available Cucumber currently also
supports reading the application context from a magical
`cucumber.xml` file or should none exist an empty application
context.
Both these fallback strategies tend to hide user errors. And
removing them will provide more clarity and also removes
a nugget of complexity.

Closes: #1904

48 of 48 new or added lines in 2 files covered. (100.0%)

6628 of 7655 relevant lines covered (86.58%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3987.3 (COVERAGE=true) 23 Apr 2020 05:45PM UTC 0
86.58
Travis Job 3987.3
Source Files on build 3987
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3987
  • 9011b5e9 on github
  • Prev Build on v6.x.x (#3986)
  • Next Build on v6.x.x (#3992)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc