-
Notifications
You must be signed in to change notification settings - Fork 1
Testing with Common Test
walter-weinmann edited this page Nov 28, 2017
·
14 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:
- the common test suites:
- for performance testing, e.g.
generated/ct/performance_x...x_SUITE.erl
. - for reliability testing, e.g.
generated/ct/reliability_x...x_SUITE.erl
.
- for performance testing, e.g.
- the eunit test files:
- for reliability testing, e.g.
generated/eunit/reliability_x...x.tst
.
- for reliability testing, e.g.
- the source code of:
- the test data generator:
ocparse_generator
, - the test driver:
ocparse_test
.
- the test data generator:
- the Unix and Windows scripts to:
- generate test data.
gen_tests
, - generate test data and to run the tests:
gen_tests_and_run
. - perform stress testing:
stress_test
.
- generate test data.
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:///.../ocparse/_build/test/logs/index.html
The results of the coverage analysis can be checked in the following file:
file:///.../ocparse/_build/test/cover/index.html