Skip to content

rebar3 new ct-suite #2067

@tsloughter

Description

@tsloughter

A common test suite template would be useful. Like:

rebar3 new ct-suite modname

Creates the file test/modname_SUITE.erl:

-module(modname_SUITE).

-compile(export_all).

-include_lib("common_test/include/ct.hrl").
-include_lib("stdlib/include/assert.hrl").

all() ->
  [].

init_per_suite(Config) ->
  Config.

end_per_suite...

init_per_group..

end_per_group..

init_per_testcase...

end_per_testcase...

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerenhancementnew behaviour or additional functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions