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

Remove duplication in test function name #89

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

Commits on Jun 26, 2024

  1. Remove duplication in test function name

    `ExUnit.Case.register_test/4` joins the test name with the name of the describe block to build a unique name and returns it as an atom.
    Since we use `scenario.name` already in the describe block, and we create only one test, we can give it a generic name.
    
    This reduces the likelyhood to reach the [erlang system limit] of 255 characters in an atom.
    
    [erlang system limit]: https://erlang.org/documentation/doc-5.8.4/doc/efficiency_guide/advanced.html#:~:text=Characters%20in%20an%20atom
    joern-lang-studitemps authored Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f55d665 View commit details
    Browse the repository at this point in the history