Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What project for Integration Tests in Visual Studio?

I have a pretty simple question: What kind of project should I create for Integration Tests in Visual Studio? The only proposed project type under Test tab in Visual C# is Unit Test Project, but it's not integration test, so I'm not sure

This is what I read, but couldn't find an answer :

Integration Testing In Visual Studio With Different Project Types

How do you separate unit tests from integration tests in Visual Studio?

Thanks!

like image 536
Flexabust Bergson Avatar asked Jun 29 '17 13:06

Flexabust Bergson


People also ask

What do you use for integration testing?

Integration testing is performed using the black box method. This method implies that a testing team interacts with an app and its units via the user interface – by clicking on buttons and links, scrolling, swiping, etc. They don't need to know how code works or consider the backend part of the components.

Where do you run integration tests?

The most common way to execute integration tests is using the command line interface (CLI). Ensure you have prepared the integration test environment before starting. Integration tests must be executed from the dev/tests/integration working directory.


1 Answers

Use the unit test project template. You will create your integration tests in there.

The unit test project is just a template that provisions the necessary dependencies. You could just as easily create an empty project and manually add what it needed.

like image 166
Nkosi Avatar answered Oct 09 '22 08:10

Nkosi