- First, download and install dependencies:
./scripts/dependencies.sh
- Build project:
./scripts/build.sh -[ruixlch]
- -h Show help.
- -r Compile Release, Debug by default.
- -u Compile Unit Tests suite. (NEEDED BY
test.sh
) - -i Compile Integration Tests suite. (NEEDED BY
test.sh
) - -x Compile Tools.
- -l Enable Logs.
- -c Clean the project.
- Run unitary tests:
./scripts/test.sh
- Generate documentation:
./scripts/doc.sh
(WORK IN PROGRESS)
- code: Source and Headers.
- scripts: Contains scripts described above.
- libOutput: Contains the libDruid.a. Generated by
scripts/build.sh
. - binaries: Generated by
scripts/test.sh.
. Contains the test executable files (both unitary and integration). - test: Set of tests. Unitary and Integration.
- tools: Set of tools.
- libs: Generated by
scripts/dependencies.sh.
Contains third party libraries. - build: Generated by
scripts/build.sh
.
Run unitary tests with ./scripts/test.sh
. Result are stored in binaries/output.
This command will print the results in terminal.
Run integration test by executing ./binaries/test_integration
. Result is stored in binaries/output.