In the last article, the OSSemPend()
test-double was coded to handle a specific OSSemPend()
application and test need. The semaphore was being used to signal when there is a message to process. It was the first need for a OSSemPend()
test double and was quickly developed. As more RTOS dependent code is brought under test, a more general solution will be needed.
In this article, we’ll look at a test double that can be customized for each application.
Continue reading