CSharp DotNet Core xUnit MailSlurp example
Example MailSlurp usage using dotnet-core-3
and xunit
. See MailSlurp docs for more.
Setup
- Install
dotnet-core-3
sdk and cli. dotnet restore
dotnet build
Run tests
Set API_KEY=your-api-key
in environment variables then run dotnet test
.