-
-
Notifications
You must be signed in to change notification settings - Fork 108
Labels
bugSomething isn't workingSomething isn't working
Description
Description
According to the documentation, the following code should execute the tests in the build pipeline:
dotnet test --configuration Release --no-build --coverage --report-trx --results-directory ./TestResults
However the pipeline fails with MSB1001.
I also tried to run the command locally on the template project and get the same error:

Expected Behavior
A clear command to run TUnit with coverage information in a GitHub action build pipeline
Actual Behavior
The documented command fails
Steps to Reproduce
- Create a TUnit template project (
dotnet new TUnit -n "MyTest") - Run
dotnet build --configuration Release --no-restore - Run
dotnet test --configuration Release --no-build --coverage --report-trx --results-directory ./TestResults
TUnit Version
1.5.53
.NET Version
.NET 8.0
Operating System
Windows
IDE / Test Runner
dotnet CLI (dotnet test / dotnet run)
Error Output / Stack Trace
Additional Context
No response
IDE-Specific Issue?
- I've confirmed this issue occurs when running via
dotnet testordotnet run, not just in my IDE
Copilot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working