Microsoft Visual Studio Test Runner
VSTest-exe is the Visual Studio Test Platform's command-line runner that discovers and executes tests in a solution or project. It supports MSTest, NUnit, xUnit, and adapter-based tests, producing structured results you can share in CI pipelines and local development workflows.
VSTest-console.exe loads the Test Platform, loads the appropriate test adapters, scans assemblies for tests, runs them, and emits a TRX results file. It respects runsettings, filters, and parallelism, and can target specific tests or fixtures.
VSTest-exe is a legitimate Microsoft test runner that ships with Visual Studio and the Microsoft Test Platform. When obtained from official Visual Studio installations and run under standard user contexts, it behaves as a trusted tool for executing unit and integration tests. It relies on digitally signed binaries and documented locations, reducing risk if sourced from Microsoft channels. In typical development and CI environments, vstest-exe is safe and essential for reliable test automation.
VSTest-exe itself is not a virus when provided by Microsoft as part of Visual Studio or the Test Platform. However, like any binary, it can be repackaged or renamed by malware to evade detection. If you encounter vstest.console.exe in an unexpected folder, unsigned, or with a tampered timestamp, treat it as suspicious and verify its signature and path before execution.
Red Flags: Unexpected locations (e.g., user temp directories), missing or invalid digital signatures, a modified date far outside the VS install window, or multiple copies with the same name in odd folders are red flags.
Reasons it's running: