QCubed-4 Unit Tests
Welcome to the QCubed-4 Unit Tests. The tests are designed to be run in a particular environment, using the
examples SQL data, and certain options in the codegen_options.json file. These tests and are run
automatically on GitHub whenever code is checked in to repository there. To run the tests locally,
do the following:
- Install the Examples SQL database found at vendor/qcubed-4/application/assets/php/examples/ for your database,
- Copy the codegen_options.json file found at vendor/qcubed-4/application/test/travis/project/includes/configuration
and put it in your project/includes/configuration directory,
- Generate the code by clicking on the Code Generator link from the QCubed-4 startup page,
- Come back to this page, and click the Run Tests button below.