Chapter 2. API Reference
Default value:
• Yes (enabled)
CONFIG_UNITY_ENABLE_64BIT
Support for 64-bit integer types
Found in:
Component config
If not set, assertions on 64-bit integer types will always fail. If this feature is enabled, take care not
to pass pointers (which are 32 bit) to UNITY_ASSERT_EQUAL, as that will cause pointer-to-int-cast
warnings.
Default value:
• No (disabled)
CONFIG_UNITY_ENABLE_COLOR
Colorize test output
Found in:
Component config
If set, Unity will colorize test results using console escape sequences.
Default value:
• No (disabled)
CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER
Include ESP-IDF test registration/running helpers
Found in:
Component config
If set, then the following features will be available:
• TEST_CASE macro which performs automatic registration of test functions
• Functions to run registered test functions: unity_run_all_tests, unity_run_tests_with_filter,
unity_run_single_test_by_name.
• Interactive menu which lists test cases and allows choosing the tests to be run, available via
unity_run_menu function.
Disable if a different test registration mechanism is used.
Default value:
• Yes (enabled)
CONFIG_UNITY_ENABLE_FIXTURE
Include Unity test fixture
Found in:
Component config
If set, unity_fixture.h header file and associated source files are part of the build. These provide an
optional set of macros and functions to implement test groups.
Default value:
• No (disabled)
CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL
Print a backtrace when a unit test fails
Found in:
Component config
Espressif Systems
>
Unity unit testing library
>
Unity unit testing library
>
Unity unit testing library
>
Unity unit testing library
>
Unity unit testing library
1231
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?