MIX_ENV=test mix coveralls.html && open cover/excoveralls.html
I would suggest that this should be:
mix cover.html && open cover/excoveralls.html
Why this should be changed
In our mix.exs file we already specify that the preferred MIX_ENV is test for these commands, so we should remove MIX_ENV=test
I would quite like making use of the aliases, that way we can just update the aliases instead of documentation when we decide to expand what cover would do (for instance) (and it makes for a nicer developer experience when setting up the project).
What we could change:
In the
README
we currently have:I would suggest that this should be:
We also have:
I would suggest that this should be:
Why this should be changed
In our
mix.exs
file we already specify that the preferredMIX_ENV
istest
for these commands, so we should removeMIX_ENV=test
I would quite like making use of the
aliases
, that way we can just update the aliases instead of documentation when we decide to expand whatcover
would do (for instance) (and it makes for a nicer developer experience when setting up the project).