mirror of
https://github.com/nasa/fprime.git
synced 2025-12-15 14:05:24 -06:00
* Corrections and edits for *.md files in the root of /docs
* Edits on docs/UsersGuide/best/*.md
* Edits on docs/UsersGuide/cmake/*.md
* Edits on *.md files at the root of docs/UsersGuide/dev/
* Edits on docs/UsersGuide/{dev,gds,user}/*.md
* Edits on docs/Tutorials/*.md and a few others after a final read
* Revert changes
Co-authored-by: M Starch <LeStarch@googlemail.com>
17 lines
813 B
Markdown
17 lines
813 B
Markdown
# CMake Build System Unit Tests
|
|
|
|
These tests seek to ensure that the CMake system functions as expected. These will test that the
|
|
CMake system meets all the requirements specified in the CMake SDD. The goal is to ensure
|
|
that the CMake system can be maintainable by ensuring core functions of the CMake process work as
|
|
expected in an automated system.
|
|
|
|
## Implementation Via PyTest
|
|
|
|
The CMake system runs its tests via PyTest. This allows the implementation to be streamlined using
|
|
standard a testing framework. Python `subprocess` is used to run CMake for its simplicity. To prepare to run these tests, ensure that you are running fprime out of a virtual environment following the fprime installation. Then run `pytest` in this directory: `cd cmake/test; pytest`
|
|
|
|
**Running:**
|
|
```
|
|
fprime> cd cmake/test
|
|
pytest
|
|
``` |