-
Notifications
You must be signed in to change notification settings - Fork 1
Testing with Common Test
walter-weinmann edited this page Oct 27, 2017
·
6 revisions
All files related to Common Test (and coverage analysis and eunit) can be found in the directory test
.
The main components in directory test
are:
- for each common test suite:
- for performance testing, e.g.
performance_x...x_SUITE.erl
. - for reliability testing, e.g.
reliability_x...x_SUITE.erl
.
- for performance testing, e.g.
- the eunit test files:
- for performance testing, e.g.
performance_x...x_SUITE.tst
. - for reliability testing, e.g.
reliability_x...x_SUITE.tst
.
- for performance testing, e.g.
- test specification files - suffixed with
.spec
-, eg.all.spec
,
Furthermore, the following files have been adjusted:
-
.gitignore
: defines the test files to be ignored, -
.travis.yml
: adds arebar3 ct
command (after success
), -
rebar.config
: defines the common test options.
Common Test, eunit and coverage analysis can all be executed from the command line with the appropriate rebar3 commands. The execution of common Test is also included in Travis CI.
The results of the common test execution can be checked in the following file:
file:///.../syparse/_build/test/logs/index.html
The results of the coverage analysis can be checked in the following file:
file:///.../syparse/_build/test/cover/index.html