-
Notifications
You must be signed in to change notification settings - Fork 519
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
rebar3 new ct-suite
#2067
Comments
Funny enough, I have exactly this template done (did PR just now). I'd also suggest to add gen_server, supervisor (there is one for "rebar3 new app", but it's worth having it separated), and gen_statem. |
I was waiting for this one - https://github.com/erlang/rebar3/pull/2070/files#r282486325 - to be resolved. I don't have a strong opinion, except for -export_all controversy. This may trigger "broken window theory" - if code has one warning suppressed, it is quite tempting to suppress more and more, and end up with removing the warning altogether. |
I'll wait for @tsloughter for the comment you mentioned. OTOH for the |
I failed to add that feature :(. One of my attempts was https://github.com/erlang/rebar3/pull/2076/files I also tried using Kind of annoying, we actually do this in the relx overlays.. All the templating really should be consolidated, it is a mess. |
But also, the thing I have the strongest opinion on is that |
A common test suite template would be useful. Like:
Creates the file
test/modname_SUITE.erl
:The text was updated successfully, but these errors were encountered: