Comments (6)
I've had the same issue on 1.8.0. Also applies to the --settings
parameter
from dotnet-test-rerun.
I can confirm the same für search pathes, e.g. **/*MyTests.dll.
Does work perfectly well on a windows build agent, does not work on a linux build agent (ubuntu 22).
Command:
dotnet tool install --global dotnet-test-rerun
STAGE=dev test-rerun **/*IntegrationTests.dll -v normal --logger trx
Error:
Microsoft (R) Test Execution Command Line Tool Version 17.8.0 (x64)
Copyright (c) Microsoft Corporation. All rights reserved.
Unhandled exception. System.ArgumentException: The value cannot be an empty string. (Parameter 'path')
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Path.GetFullPath(String path)
at System.IO.DirectoryInfo..ctor(String path)
at vstest.console.Internal.FilePatternParser.GetMatchingFiles(String filePattern) in /_/src/vstest.console/Internal/FilePatternParser.cs:line 81
at Microsoft.VisualStudio.TestPlatform.CommandLine.CommandLineOptions.AddSource(String source) in /_/src/vstest.console/CommandLine/CommandLineOptions.cs:line 283
at Microsoft.VisualStudio.TestPlatform.CommandLine.Processors.ArgumentProcessorFactory.<>c__DisplayClass18_0.<WrapLazyProcessorToInitializeOnInstantiation>b__0() in /_/src/vstest.console/Processors/Utilities/ArgumentProcessorFactory.cs:line 282
at System.Lazy`1.CreateValue()
at Microsoft.VisualStudio.TestPlatform.CommandLine.Executor.GetArgumentProcessors(String[] args, List`1& processors) in /_/src/vstest.console/CommandLine/Executor.cs:line 283
at Microsoft.VisualStudio.TestPlatform.CommandLine.Executor.Execute(String[] args) in /_/src/vstest.console/CommandLine/Executor.cs:line 173
at Microsoft.VisualStudio.TestPlatform.CommandLine.Program.Main(String[] args) in /_/src/vstest.console/Program.cs:line 22
Unhandled exception. System.ArgumentException: The value cannot be an empty string. (Parameter 'path')
at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
at System.IO.Path.GetFullPath(String path)
at System.IO.DirectoryInfo..ctor(String path)
at vstest.console.Internal.FilePatternParser.GetMatchingFiles(String filePattern) in /_/src/vstest.console/Internal/FilePatternParser.cs:line 81
at Microsoft.VisualStudio.TestPlatform.CommandLine.CommandLineOptions.AddSource(String source) in /_/src/vstest.console/CommandLine/CommandLineOptions.cs:line 283
at Microsoft.VisualStudio.TestPlatform.CommandLine.Processors.ArgumentProcessorFactory.<>c__DisplayClass18_0.<WrapLazyProcessorToInitializeOnInstantiation>b__0() in /_/src/vstest.console/Processors/Utilities/ArgumentProcessorFactory.cs:line 282
at System.Lazy`1.CreateValue()
at Microsoft.VisualStudio.TestPlatform.CommandLine.Executor.GetArgumentProcessors(String[] args, List`1& processors) in /_/src/vstest.console/CommandLine/Executor.cs:line 283
at Microsoft.VisualStudio.TestPlatform.CommandLine.Executor.Execute(String[] args) in /_/src/vstest.console/CommandLine/Executor.cs:line 173
at Microsoft.VisualStudio.TestPlatform.CommandLine.Program.Main(String[] args) in /_/src/vstest.console/Program.cs:line 22
Exit code 134.
command: dotnet test **/*IntegrationTests.dll --logger "trx" -v "Normal" --results-directory "/home/vsts/work/r1/a"
from dotnet-test-rerun.
Hi @claasd,
Can you please try again in the newest version and let me know if it still happens and with the same error?
Thanks
from dotnet-test-rerun.
Related Issues (19)
- support all dotnet test available options
- Options [-e|--environment <NAME="VALUE">] is not supported HOT 3
- Running on ADO issue HOT 5
- On Theory Failure all cases are being re-run HOT 5
- Provide the ability to run all test projects using a glob pattern HOT 1
- Feature: on re-run, search only the test projects/assemblies that contain the failed tests HOT 1
- enable the ability to run at root level, for whole solution HOT 4
- Tests aren't re-run if verbosity is set to normal HOT 5
- add option to specify a delay between test runs
- Runs entire suite on rerun instead of just failed tests in Azure DevOps pipeline HOT 2
- Support for DataTestMethods when filtering on rerun HOT 6
- Task ends in success when tests have failed HOT 9
- how to enable code coverage with release configuration setup HOT 8
- Feature request: Search for all Projects HOT 9
- Fully qualified name not used in re-run, tests executed across multiple unit test projects in the same solution HOT 9
- Test Reruns don't seem to be specific to framework version HOT 7
- Allow multiple logger arguments HOT 5
- Allow inline runsettings arguments HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet-test-rerun.