Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 613 Bytes

File metadata and controls

24 lines (17 loc) · 613 Bytes

Magicianred.LearnByDoing.MyBlog.WebApi.Tests.Integration

This is the project with Integration Tests for the WebApi project.

How to use

Configure

  1. Create in root folder a file testsettings.json and past this text, change YOUR_CONNECTION_STRING with the connection string of your db test
{
    "ConnectionStrings": { "myBlog": "YOUR_CONNECTION_STRING" }
}

From Visual Studio

Open the Test Explorer window (from the menu TEST -> Test explorer) select a specific test or run all.

From Visual studio code

Open the terminal and digit

dotnet test