This module generates ExUnit style unit test skeletons for an Elixir Project.
- Generates test files with appropriate jumpstart headers for each module.
- Ensures that those test modules are in the orthogonal folder relative to the original code module folder structure
- Adds Unit test skeletons for each module function/arity
- Updates existing ExUnit test files as new functions are added/modified in the original code
Add ex_unit_jumpstart
to the list of dependencies in mix.exs
:
def deps do
[
{:ex_unit_jumpstart, "~> 0.0.3"},
]
end
Follow the Phoenix config process for deployment and releases.
ex_unit_jumpstart
generate output files from templates.
Generate output files:
# Create ExUnit test template files
mix ex_unit_jumpstart.generate
I am Tim Chambers
on on the Elixir Slack, tjchambers
on
Github. Happy to chat or help with your projects.
Copyright (c) 2023 Timothy Chambers