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

Make it optional for parameter names to match named generators #360

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mpdncrwd
Copy link

Previously, if parameter names were enabled at compile-time, all parameters were required to match a named generator. This made including parameter names and using Lincheck with languages always enabling parameter names, like Scala, impractical. This PR:

  • Enables javaParameters when compiling tests in order to include parameter names - this makes all tests fail
  • Makes matching parameter names optional, such that tests work again
  • Adds a test that matching named generators on parameter names works

Previously, if parameter names were enabled at compile-time, all parameters were required to match a named generator. This made including parameter names, and using Lincheck with languages always enabling parameter names like Scala, impractical.

This instead makes it optional, such that if a named generator matches it is used but if none is found then we apply a default generator.

This also enables parameter names at compile time for tests in order to test this behavior.
@mpdncrwd mpdncrwd changed the title Make it optional for parameter names to match named generators. Make it optional for parameter names to match named generators Aug 15, 2024
@ndkoval ndkoval changed the base branch from master to develop August 15, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant