Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Testing Guidance

Damian Hickey edited this page May 27, 2018 · 1 revision

The recommended practice is not to mock ILog in tests. It may be difficult to get the exact behavior. Instead wire up an in-memory sink with a real logging library (they all support that). You can then prob the messages from the sink if you need to assert any logs.

Clone this wiki locally