mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 17:27:46 -04:00
* Added CMock as submodule * Makefile added * Removed TEMP from Makefile * Added configuration files and header files * Update Makefile * Test runner working * make clean * Example added with README * Update README.md * Restored +TCP files * Cleared +TCP changes * removed comments from Makefile * Update README.md * Update README.md * Update README.md * Updated Test/Unit-test/readme.md
13 lines
1.2 KiB
Markdown
13 lines
1.2 KiB
Markdown
## Testing in FreeRTOS
|
|
FreeRTOS (kernel and libraries) consists of common code and porting layer. Extensive [static analysis](https://en.wikipedia.org/wiki/Static_program_analysis) and [dynamic analysis](https://en.wikipedia.org/wiki/Dynamic_program_analysis) are done on both to ensure functional correctness of FreeRTOS.
|
|
|
|
Additional bounded-ness checks are done using [CBMC](https://www.cprover.org/cbmc/). Although these checks do not cover all functions, they cover considerable chunk of code base. Missing CBMC tests will be added later.
|
|
|
|
For more information on FreeRTOS testing please refer to https://www.freertos.org/FreeRTOS-Coding-Standard-and-Style-Guide.html.
|
|
|
|
## Directory structure
|
|
This directory is in working progress -- we are migrating scattered test cases to this directory. Here only lists what's currently under this directory.
|
|
|
|
- ```./CBMC```: This directory contains automated proofs of the memory safety of various parts of the FreeRTOS code base.
|
|
- ```./CMock```: This directory has the submoduled version of CMock for providing basis Unit testing
|
|
- ```./Unit-Tests```: This directory has the Unit tests for FreeRTOS-Plus libraries. As of now, just Unit tests for +TCP (testing these).
|