1
0
Fork 0
mirror of https://github.com/correl/rebar.git synced 2024-12-19 19:14:18 +00:00
rebar/priv/templates/ctsuite.template
Tim Watson 7810d7bf7c Add common_test suite template
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.
2011-02-15 17:21:56 +01:00

2 lines
95 B
Text

{variables, [{testmod, "mymodule"}]}.
{template, "ctsuite.erl", "test/{{testmod}}_SUITE.erl"}.