Describe the bug
According to the documentation there is a watch option that would determines if dotnet test or dotnet watch test is used to execute tests.
However, this option results on the wrong command being invoked and it does not work as expected
To Reproduce
Steps to reproduce the behavior:
- Generate a new dotnet project with a corresponding xUnit test project
- Run the test executor for this unit test project, confirms it runs as expected
- Open
project.json for the test project and add the watch option:
"test": {
"executor": "@nx-dotnet/core:test",
"options": {
"watch": true //The watch option
}
},
- Try to test the project in watch mode and watch the wrong command being invoked:
Executing Command: dotnet "--project" "/testporjectpath/Project.Test.csproj" "test"
Unknown option: --project
Expected behavior
To run the test project in watch mode
Screenshots
NA
Environment:
- OS: MacOs Monterrey
- Browser NA
- Version .net 5
Describe the bug
According to the documentation there is a
watchoption that would determines if dotnet test or dotnet watch test is used to execute tests.However, this option results on the wrong command being invoked and it does not work as expected
To Reproduce
Steps to reproduce the behavior:
project.jsonfor the test project and add the watch option:Expected behavior
To run the test project in watch mode
Screenshots
NA
Environment: