Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix additional arguments help in dotnet test #687

Closed
sbaid opened this issue Apr 4, 2017 · 2 comments
Closed

Fix additional arguments help in dotnet test #687

sbaid opened this issue Apr 4, 2017 · 2 comments
Assignees
Milestone

Comments

@sbaid
Copy link
Contributor

sbaid commented Apr 4, 2017

Description

dotnet test -h displays this in help.

Usage: dotnet test [arguments] [options] [args]
...
Additional Arguments:
Any extra commandline runsettings arguments that should be passed to vstest. See 'dotnet vstest 
--help' for available options.
                                        Example: -- RunConfiguration.ResultsDirectory="C:\users\user\desktop\Results Directory" MSTest.DeploymentEnabled=false

suggest change first line to

Usage: dotnet test [arguments] [options] [[--] <args>...]]
...
args: 
      Any extra arguments that should be passed to test adapter. Arguments may be specified as name-value pair of the form <n>=<v>, where <n> is the argument name, and <v> is the argument value. Use a space to separate multiple arguments.
    Example:  MSTest.DeploymentEnabled=false

<add  a aka.ms link that details out additional arguments documentation with example>

This help caused the confusion referenced in this https://github.com/dotnet/cli/issues/5659

Steps to reproduce

What steps can reproduce the defect?
Please share the setup, commandline for vstest.console, sample project, target
framework etc.

Expected behavior

Share the expected output

Actual behavior

What is the behavior observed?

Environment

Please share additional details about the test environment.
Operating system, Build version of vstest.console

@sbaid sbaid added this to the Preview 116 milestone Apr 4, 2017
@sbaid sbaid assigned Faizan2304 and unassigned smadala Apr 19, 2017
@sbaid
Copy link
Contributor Author

sbaid commented Apr 19, 2017

/cc @davidfowl

@sbaid sbaid modified the milestones: Preview 116, 15.3 Apr 19, 2017
livarcocc pushed a commit to dotnet/cli that referenced this issue May 3, 2017
* Fix test issue failing with PathTooLongIssue

(cherry picked from commit 340254f)

* fix for issues:
1) microsoft/vstest#755
2) microsoft/vstest#687
3) microsoft/vstest#737

(cherry picked from commit 0e93b2a)

* use new version

* Update version

* Fix pathtoolong issue

* Fix test
@Faizan2304
Copy link
Contributor

Fixed!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants