Generic tests are a way to integrate external tests into Visual Studio. There could be applications that use external components or services, which need to be tested as part of the whole system testing. In this case, the external component details are not exposed and the internal logic is also unknown. In order to test these third-party components, generic tests in Visual Studio act as wrappers for testing these external components within the boundary of Visual Studio. Once it is wrapped, the generic tests run just like any other test, through Visual Studio IDE.
The external component test should adhere to the following conditions, to be categorized under generic tests in Visual Studio: