mirror of
https://github.com/correl/rebar.git
synced 2024-12-24 03:00:16 +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"}.
|