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

CurrentDirectory not set for dotnet-test based test runners #50

Closed
jcansdale opened this issue Sep 15, 2016 · 0 comments
Closed

CurrentDirectory not set for dotnet-test based test runners #50

jcansdale opened this issue Sep 15, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@jcansdale
Copy link
Owner

jcansdale commented Sep 15, 2016

NOTE: The current directory wasn't being set when executing using a 'dotnet test' based test runner. It is now being set to the output directory (consistent with other TestDriven.Net runners).

For example:

        static void CurrentDirectory()
        {
            Console.WriteLine(System.IO.Directory.GetCurrentDirectory());
        }

Was incorrectly showing:

------ Test started: Assembly: BenchmarkDotNet.IntegrationTests.TestDriven.dll ------

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

1 passed, 0 failed, 0 skipped, took 1.43 seconds (net451).
@jcansdale jcansdale added this to the v3.10-RTM milestone Sep 15, 2016
@jcansdale jcansdale added the bug label Sep 15, 2016
@jcansdale jcansdale self-assigned this Sep 15, 2016
@jcansdale jcansdale modified the milestones: v4.0-RTM, v3.10-RTM Sep 30, 2016
@jcansdale jcansdale modified the milestones: v4.0-beta2, v4.0-RTM Oct 7, 2016
@jcansdale jcansdale reopened this Oct 11, 2016
@jcansdale jcansdale reopened this Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant