Replies: 1 comment 3 replies
-
For anyone else interested in this, I found no examples, but have come across one main issue/solution. The issue is that the normal stubbing functionality for cFS does not play nicely with class methods in my experience. The way to work around this is to create stub free functions, call these free functions from the stubbed method, and then create macros to make it easy to get the free function that corresponds to each method that has been stubbed. I've created a script to do this automatically (similar to the generate_stubs.pl) and hope to share it at some point (once I have time to usher it through the NASA software release process). |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
Does anyone have open examples of cFS apps written using primarily c++ that also use ut-assert for unit testing? I'm just starting to investigate this for an app being developed and want to see if there are any gotchas/issues with using the combination.
Beta Was this translation helpful? Give feedback.
All reactions