Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Demoing ILogger.Moq to simplify Logger tests #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adrianiftode
Copy link

@adrianiftode adrianiftode commented Nov 26, 2020

Hello, @dotnet-labs,

I find out about this repository from the @Medium article you wrote.

I noticed you have some tests for testing the interactions with the logger, so I want to demo you
a way of doing it with Moq.ILogger (spoiler, I'm the author :) ).

Also changing how calculator's params are logged
to be more consistent with .NET (semantic logging oriented),

hope you don't mind :)

Also changing how calculator's params are logged
to be more consistent with .NET (semantic logging oriented)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant