Skip to content

UT-Assert Framework for custom unit testing implementation #362

Answered by skliper
quinnha asked this question in Q&A
Discussion options

You must be logged in to vote

Are these applications using OSAL? We do use https://github.com/nasa/osal/tree/main/ut_assert as the basis for all the test applications within OSAL (lower level than cFS apps), both functionally here https://github.com/nasa/osal/tree/main/src/tests and in a coverage test context here https://github.com/nasa/osal/tree/main/src/unit-test-coverage. The pattern should be applicable to anything that uses OSAL.

I'm not aware of any use of ut_assert referenced above independent of OSAL, it uses OS_BSP_* calls to set things (console, etc) up so you'd need to implement those and provide your own BSP to start things up correctly and call into the OS_Application_Startup and Run functions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by quinnha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants