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

GH-3127: Add ResultsDirectory to VSTestSettings. (see #3127) #3128

Merged
merged 1 commit into from
Feb 16, 2021

Conversation

soroshsabz
Copy link
Contributor

This PR resolved #3127

@soroshsabz soroshsabz changed the title (GH-3127) Add ResultsDirectory to VSTestSettings. (see #3127) GH-3127: Add ResultsDirectory to VSTestSettings. (see #3127) Feb 12, 2021
@soroshsabz
Copy link
Contributor Author

@devlead Please review it :)

thanks

Copy link
Member

@augustoproiete augustoproiete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @soroshsabz. LGTM.

Could you please squash the commits and rebase against latest develop?

@soroshsabz
Copy link
Contributor Author

@augustoproiete I done it.

Copy link
Member

@augustoproiete augustoproiete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -117,6 +117,11 @@ private ProcessArgumentBuilder GetArguments(IEnumerable<FilePath> assemblyPaths,
builder.AppendSwitchQuoted("/Diag", ":", settings.Diag.MakeAbsolute(_environment).FullPath);
}

if (settings.ResultsDirectory != null)
{
builder.AppendSwitchQuoted("/ResultsDirectory", ":", settings.ResultsDirectory.MakeAbsolute(_environment).FullPath);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good / prior art

/// Test results directory will be created in specified path if not exists.
/// VSTest.Console.exe flag <see href="https://docs.microsoft.com/en-us/visualstudio/test/vstest-console-options#ResultDirectory">/ResultsDirectory</see>.
/// </summary>
public DirectoryPath ResultsDirectory { get; set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Matches command-line argument in VSTest-Console docs

image

@augustoproiete augustoproiete merged commit 6c1730f into cake-build:develop Feb 16, 2021
@augustoproiete
Copy link
Member

@soroshsabz your changes have been merged, thanks for your contribution 👍

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

Successfully merging this pull request may close these issues.

Add ResultsDirectory to VSTestSettings
2 participants