Last updated
Was this helpful?
The Windows / MSVC C++ agent is in beta. CLI flags and APIs may change between versions.
The MSVC agent instruments Visual Studio and MSVC builds for SeaLights code coverage and Test Impact Analysis. It injects instrumentation through MSBuild targets without modifying .vcxproj files. The self-contained SL.Agent.Cpp.exe runs without a .NET runtime.
This agent differs from the Linux/GCC agent. The Linux/GCC agent uses compiler flags and LD_PRELOAD.
Confirm your environment meets these requirements before you begin:
Windows 10 or Windows Server 2016 or later
Visual Studio 2017 or later with toolset v141 or later, MSVC, and MSBuild on PATH
Google Test v1.10 or later for test event capture and Test Impact Analysis. Earlier versions collect coverage data only.
No .NET runtime installation. The agent runs as a self-contained .exe.
Download the agent
Inject MSBuild targets and rebuild
Run your tests with coverage
Capture test events
Parameter reference
Last updated
Was this helpful?
Was this helpful?

