1- # CppUTest for the QP/C (qpc) Real-Time Embedded Framework
1+ # CppUTest for the QP/C (qpc) Real-Time Embedded Framework (library only)
22
33Build and Test status: ![ Build and Tests] ( https://github.com/covemountainsoftware/cpputest-for-qpc/actions/workflows/cmake.yml/badge.svg )
44
@@ -12,7 +12,7 @@ encourage and support efforts like this. Thank you!
1212
1313# Introduction
1414
15- The ` cpputest-for-qpc ` project enables CppUTest for the
15+ The ` cpputest-for-qpc ` library project enables CppUTest for the
1616QP/C Real-Time Embedded Framework. This project provides for the
1717following capabilities:
1818
@@ -22,7 +22,7 @@ following capabilities:
2222* Supporting utilities to simplify unit testing of qpc
2323 based active objects. Provided classes may also be useful in
2424 the final target software, if C++ is also in use.
25- * An example C language based active object under test.
25+ * A separate examples project providing usage/examples of this library
2626
2727Benefits of this approach to unit testing active objects include:
2828* No surprises. The active object under test interacts with the
@@ -43,19 +43,20 @@ Benefits of this approach to unit testing active objects include:
4343
4444# Environment
4545
46- This project was developed and proven in Ubuntu 20.04. In theory any
46+ This project was developed and proven in Ubuntu 20.04 and 22.04 . In theory any
4747build or host operating system environment supported by CppUTest will
4848be compatible with this code.
4949
5050## Prerequisites
5151
52- * qpc (pulled in as a git submodule)
53- * After cloning this repository, do not forget to:
54- * ` git submodule init `
55- * ` git submodule update `
56- * CppUTest (version 3.8-7 or version 4.0) (3.8 is the default in Ubuntu 20.04 while 4.0 is the default in Ubuntu 22.04)
5752* CMake and associated build tools were used to develop
5853 and prove out this project.
54+ * QP/C
55+ * You can override the QPC to another directory with your project's exact QPC source code.
56+ Define the cmake variable CMS_QPC_TOP_DIR before including the internal CMakeLists.txt.
57+ * or:
58+ * Do not define CMS_QPC_TOP_DIR, and the internal cmake will fetch the appropriate QP/C repo.
59+ * CppUTest (version 3.8-7 or version 4.0) (3.8 is the default in Ubuntu 20.04 while 4.0 is the default in Ubuntu 22.04)
5960* This project requires support for C++14 and C11.
6061
6162## Continuous Integration
@@ -125,7 +126,7 @@ behavior, using the exact same interfaces the active object would use
125126in the production target. CppUTest provides for the mocking capabilities to
126127ensure that the active object under test is calling the expected APIs.
127128
128- Within this project, please see the tests for ` examples/hwLockCtrlService ` which
129+ Within the associated examples project, please see the tests for ` examples/hwLockCtrlService ` which
129130provides examples of:
130131* Testing for reaction to a published event, where the reaction is observed
131132 through a CppUTest ` mock() ` .
0 commit comments