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

Move EUnit to CT #115

Merged
merged 2 commits into from
Jun 30, 2024
Merged

Commits on Jun 30, 2024

  1. Prepare for Common Test

    - deps and ebin are rebar 2
    - ignore *.beam is not required, since _build
    - .eunit is legacy
    - pre-hook lint (for eunit) is removed and made explicit in the CI file
    - main.yml is tweaked to run static analysis first and tests later
    paulo-ferraz-oliveira committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    52e36c1 View commit details
    Browse the repository at this point in the history
  2. Move tests from EUnit to Common Test

    Notice the use of README.md from the linked `priv` folder
    
    Files were mostly renamed and then:
    - added init/end_per_suite (from setup/teardown)
    - added init/end_per_testcase (from elli_test_)
    - removed _test suffix from exported function names
    - moved rebar.config test options to test profile
    - added a shareable (example + tests) symbolic link, used as
      filename:join(code:priv_dir(elli), "README.md") for
      single reference...
    paulo-ferraz-oliveira committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    9fe89e7 View commit details
    Browse the repository at this point in the history