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

Test readability and error reporting #1060

Open
bettio opened this issue Feb 23, 2024 · 0 comments
Open

Test readability and error reporting #1060

bettio opened this issue Feb 23, 2024 · 0 comments

Comments

@bettio
Copy link
Collaborator

bettio commented Feb 23, 2024

A number of tests rely on a number of old tricks to inform about what failed, since quite some time, when failing pattern matching line number is reported.
Tests should make more use of pattern matching so we can get line number information.

Caveats:

  • line numbers are reported only for BEAM files generated with some specific OTP versions
  • in case of corruption the expected value might "leak" leading to a false negatives, so tests focused on VM features should avoid direct reference to expected values
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

No branches or pull requests

1 participant