PeakyTests / Peaky

Tests as a Service
Other
5 stars 8 forks source link

ILogger support #36

Closed jonsequitur closed 6 years ago

jonsequitur commented 6 years ago

This adds support for dependency-injecting anything that's registered with the ASP.NET Core DI container.

It also registers a Peaky ILoggerProvider so that if your Peaky tests declare a dependency on ILoggerFactory, you can call CreateLogger to get a logger that will log to the test output and appear in the test result's Log field.