Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1.12 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.12 KB

Use Catch2 unittest framework on ESP-IDF

A template project to use Catch2 unittest framework on ESP-IDF.

prerequisites

  • curl: to download single header/single file version of Catch2 (catch_amalgamated.{hpp, cpp})

build & run

For CMake build system:

$ idf.py build
$ idf.py flash monitor

Then, you can see test passed log in console.

I (460) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
===============================================================================
All tests passed (1 assertion in 1 test case)

Tested environment

  • ESP-IDF v5.2
  • ESP32-S3
  • ESP32

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.