Skip to content

What is the best way to test functions that use std functions? #609

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

You must be logged in to vote

Writing stubs is the suggested pattern. OSAL does it quite a bit. See https://github.com/nasa/osal/tree/main/src/unit-test-coverage/ut-stubs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LucienMorey
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