Knitschi / CMakeProjectFramework

A C++ project infrastructure.
MIT License
2 stars 2 forks source link

Add automated integration tests #4

Closed Knitschi closed 6 years ago

Knitschi commented 6 years ago

We need automated tests, that run the pipeline with all the underlying tools. Currently we only have a view unit tests for low-level python and cmake code. As these tests will test the functionality of multiple packages at once we should put them in their own package CPFTests. This package can also contain utility functionality like test driver code or a project generator. The CPFTests package should create an extra custom target to run the integration tests.

Tests should

Knitschi commented 6 years ago

Commit 50fbe76caa6b351ba286515774dfa991f9afbde0 introduces a first test that builds the pipeline target of SimpleOneLibCPFTestProject test project for the Windows configurations.

Knitschi commented 6 years ago

With commit e6909bf4c23b540cf063928fe5b4067714e5db46 the test also works on Linux.

Knitschi commented 6 years ago

With version 0.0.0.352-f82e we have a couple of integration tests that test the combined functionality of the CPFBuildscripts and CPFCMake package.