简体   繁体   中英

What ThreadX uses to do its testing?

I am a student developing a microcontroller application that uses the Azure RTOS ThreadX, and I never used tests and want to start doing unit testing, integration testing, and automatic tests. I found out the Ceedling and Google Test frameworks, but I would like to know what the community and the ThreadX team uses or recommends to proceed with the tests.

My programming language is C, and I'm using a Cortex M0+.

ThreadX has a custom test suite, specifically written to test and certify the RTOS and middleware.

For your application code on top of the RTOS you can use the suites you mentioned.

I would recommend that in addition to unit-testing you use a static analysis tool or two, to identify other types of problems. During unit-testing and system testing it is also useful to measure code and branch coverage as well as use a profiler to verify performance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM