Forum Discussion

SlickRick's avatar
20 days ago

Run test for all projects in a PJS for a specific tag

Hi all,

i'm trying to run testexecute in command line to run all the tests in my PJS solution for a specific tag only.

Im doing something like this:

TestExecute.exe "C:\...\MySolution.pjs" /run  /exit /DoNotShowLog /SilentMode /tags:"@Sanity"

but it runs all my tests.

but if i do call it for a specific project inside the solution it works:
TestExecute.exe "C:\...\MySolution.pjs" /run  /exit /DoNotShowLog /SilentMode /project:SubProject /tags:"@Sanity"

I would really like to avoid having to look each sub project one by one, hopefully im doing something wrong here :/

Any ideas?