0

I am trying to implement integration testing for each API that i have developed in .Net core 3.1 and have followed this link to create test cases for it.

Please find the below test class that i have created for my API.

enter image description here

But while executing i am getting error in this line _server = new TestServer(new WebHostBuilder() .UseStartup<Startup>()); which is as below :

Error

Am i missing anything here ?

semwal
  • 195
  • 2
  • 4
  • 15
  • In the future please post your code as text, not as a screenshot, so that it can be found by other people and so that copy/paste works. :-) – Eiver May 03 '20 at 20:22

1 Answers1

1

This is not an error. its actually an issue in visual studio. please refer https://stackoverflow.com/a/52387048/9524580 will sort out the issue

Lasanga Guruge
  • 832
  • 1
  • 5
  • 15