Skip to content

Testing

Walter Weinmann edited this page Jan 7, 2017 · 12 revisions

1. Test Data Generator

The test data generator ocparse_generator can generate any amount of generic tests. For this, the script test_generator.bat can be used. The generated eunit tests are limited to the individual clauses and for the legacy version only, to the individual commands. The generated common tests include additional performance tests based on the grammar expressions Command, Cypher, Query and Statement.

2. Stress Testing

The script ocparse_stress.bat allows a stress test to be performed based on common test. The stress test can be started by calling test_stress.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.

Clone this wiki locally