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

Support testing frameworks #4

Open
4 of 7 tasks
oubiwann opened this issue Jul 13, 2020 · 2 comments
Open
4 of 7 tasks

Support testing frameworks #4

oubiwann opened this issue Jul 13, 2020 · 2 comments

Comments

@oubiwann
Copy link
Member

oubiwann commented Jul 13, 2020

There are three testing frameworks that should be supported:

  • Erlang's eunit
  • Erlang's Common Test
  • the LFE ltest framework

Tasks

  • Examine each of the above and the most direct, straight-forward means of supporting them in a rebar3 plugin
  • Update the ltest library to decrease the number of dependencies and use the new rebar3_lfe plugin (depends upon https://github.com/lfex/ltest/milestone/1)
  • Review lfe-rebar3/test plugin and determine how much of that project's code may be reused
  • Add the bare-minimum code needed to support eunit tests written in LFE via rebar3 eunit
  • Add the bare-minimum code needed to support Common Tests written in LFE via rebar3 ct
  • Add the bare-minimum code needed to support tests written using ltest via rebar3 lfe ltest
  • Explore the possibility of adding the command rebar3 lfe test which will run all tests in a project written against all supported test frameworks

For CT support, see the following:

@oubiwann
Copy link
Member Author

We should get eunit support for free after compiling -- for both direct use of eunit and use via ltest.

@oubiwann
Copy link
Member Author

oubiwann commented Jul 13, 2020

I think we'll need rebar3 lfe test to run the test runner from the ltest project, though.

@oubiwann oubiwann added this to the 0.3.0 milestone Jul 15, 2020
@oubiwann oubiwann self-assigned this Jul 18, 2020
@oubiwann oubiwann modified the milestones: 0.3.0, 0.4.0 Oct 14, 2020
@oubiwann oubiwann modified the milestones: 0.4.0, 0.5.0 Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant