Skip to content

Draft: test(pcf): Proposal how to bring unit tests and integration tests (on a component level) into CN components

Stefan Spettel requested to merge integration_test_proposal into develop

Build an run tests:

./build_pcf --build-type Debug --Verbose --test --jobs

Run tests:

Tests are compiled into build/pcf/build/pcf_tests. The file run_unit_tests runs all tests. It requires a pcf configuration as first argument.

./run_unit_tests pcf.conf

Features

For each test run the PCF APP and API Server are restarted. Hence, each test is isolated. Setup and Teardown procedures are used to ensure correct initialization and destruction of resources.

Edited by Stefan Spettel

Merge request reports