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

Alternative for the ReferencedAccessibilityTest #3525

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

Conversation

Zegveld
Copy link
Contributor

@Zegveld Zegveld commented Feb 11, 2024

This way the test does not use the target property warning mechanism to check if a mapping did not take place, but instead checks if the resulting field is filled or not.

2 reasons why I want to change this:

The first reason is that a change in the property message should not result in this test failing.

The second reason would be traceability for when a bug appears.

If a bug would be introduced with the following symptoms:

  1. it would remove the field from unmapped properties
  2. it would not store the mapping for generation.

These tests would then still pass, while this sounds to me like a failure situation for this test class.

Created this PR to continue the discussion started at #3522

…testing anymore, but instead use behavior.
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.

None yet

1 participant