To run tests in the same process: >vstest.console.exe tests.dll To run tests in a separate process: >vstest.console.exe /inIsolation ...

To run tests in the same process:
    >vstest.console.exe tests.dll 
  To run tests in a separate process:
    >vstest.console.exe /inIsolation tests.dll
  To run tests with additional settings such as  data collectors:
    >vstest.console.exe  tests.dll /Settings:Local.RunSettings