Skip to content

Testing

walter-weinmann edited this page Oct 26, 2017 · 5 revisions

1. Test Data Generator

The test data generator sYparse_generator can generate a large number of generic tests for common test and eunit tests. For this, the script test\gen_tests.bat or test\gen_tests_and_run.bat can be used. Both scripts first compile the Erlang modules and then generate the desired test files. The script test\gen_tests_and_run.bat additionally performs the following tasks:

  • running all Eunit tests,
  • running all common tests,
  • running the Erlang coverage tool for the folder utility.

2. Stress Testing

The script test\stress_test.bat allows a stress test to be performed based on common test. The stress test can be started by calling test\stress_test.bat n, where n indicates the required number of test runs. In each test run, the test data will be regenerated and subsequently launched with common test. Only the test suites with the prefix performance_ will be processed.

Clone this wiki locally