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 ?

1
  • 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. :-) Commented May 3, 2020 at 20:22

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.