I figured out how to run it with DotNet Test. BUt I do not know where or what to put the info in VsTest. From the Command Line:
npm install --save-dev @percy/cli
set PERCY_TOKEN=TOKEN
npm install -g @percy/cli@latest
npx percy app:exec -- dotnet test name of CSProj
I use a Windows machine with VsTest.Adding a Step to install npm. This will install npm for you. Then add a command Step using:
start /B npx percy app:exec start
. After that run your tests. After that use a step that stops the Percy
npx percy app:exec stop
.