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

Metamorphic testing #314

Open
PauliusKu opened this issue Feb 13, 2025 · 0 comments
Open

Metamorphic testing #314

PauliusKu opened this issue Feb 13, 2025 · 0 comments
Assignees
Labels
testing Testing improvement or issue fix

Comments

@PauliusKu
Copy link
Collaborator

PauliusKu commented Feb 13, 2025

Analyze the benefits and possible ways of using Metamorphic Testing.

Sources (look for more examples, especially on compilers and translators (we don't care about ML/AI and self driving cars here :)))

  1. https://www.youtube.com/watch?v=tvwX4hXeU5k
  2. https://core.ac.uk/download/pdf/158249634.pdf
  3. https://research.nottingham.edu.cn/ws/files/31438001/293_combinepdf_2_.pdf
  4. https://eprints.nottingham.ac.uk/51607/1/__MTChallOpporCSUR.accepted.20170922.pdf
  5. https://inria.hal.science/hal-02422437/file/Leveraging%20metamorphic%20testing%20to%20automatically%20detect%20inconsistencies%20in%20code%20generator%20families%20%28STVR2019%29.pdf
  6. https://dlehmann.eu/publications/MetamorphicDebugger-issta2019.pdf
    Example case for MR:
  7. Let say we have our passing test cases.
  8. We know that formatter shouldn't touch the comment lines and blocks.
  9. So, we add some comments to our test cases in a specific pattern.
  10. And we should expect to find those in same place as before formatting.
@PauliusKu PauliusKu self-assigned this Feb 13, 2025
@PauliusKu PauliusKu added the testing Testing improvement or issue fix label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Testing improvement or issue fix
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant