mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 11:09:33 +00:00
7810d7bf7c
This change adds a simple common_test suite template that can be instantiated with the name of a module under test like so: `rebar create template=ctsuite testmod=mymodule` The template creates an empty test suite in the test directory, automatically exports test functions and sets up a first, skipped test function.
2 lines
95 B
Text
2 lines
95 B
Text
{variables, [{testmod, "mymodule"}]}.
|
|
{template, "ctsuite.erl", "test/{{testmod}}_SUITE.erl"}.
|