Skip to content

Remove scenario scoped step definitions from step definition cache #1301

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

Merged
merged 3 commits into from
Dec 13, 2017

Conversation

mpkorstanje
Copy link
Contributor

Summary

Remove scenario scoped step definitions from step definition cache This fixes a bug in cucumber 2.3.0 where the cache would serve up a lambda step definition from a previous step.

How Has This Been Tested?

Added a unit test and java8 examples. Features used by cucumber-java8, specifically glue coded step
definitions, were not used in integration tests. Adding these should allow us to discover java8 related problems quicker.

Types of changes

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

  • I've added tests for my code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

This fixes a bug in cucumber 2.3.0 where the cache would serve up a
lambda step definition from a previous step.
Features used by cucumber-java8, specifically glue coded step
definitions, were not used in integration tests. Adding these should
allow us to discover java8 related problems quicker.
@mpkorstanje mpkorstanje force-pushed the fix-use-of-stale-glue branch from 22b0221 to 2381174 Compare December 13, 2017 21:49
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 81.473% when pulling 2381174 on fix-use-of-stale-glue into 4be971a on master.

@mpkorstanje mpkorstanje merged commit 5a5d4da into master Dec 13, 2017
@mpkorstanje mpkorstanje deleted the fix-use-of-stale-glue branch December 13, 2017 23:54
@lock
Copy link

lock bot commented Dec 14, 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 locked as resolved and limited conversation to collaborators Dec 14, 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.

2 participants