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

When Run Test is called it does not save the document #1473

Closed
jchannon opened this issue May 11, 2017 · 2 comments
Closed

When Run Test is called it does not save the document #1473

jchannon opened this issue May 11, 2017 · 2 comments
Assignees
Milestone

Comments

@jchannon
Copy link
Contributor

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.1)

Product Information:
 Version:            1.0.1
 Commit SHA-1 hash:  005db40cd1

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.1

VS Code version:1.12.1
C# Extension version:1.9.0

Steps to reproduce

Write unit test, save, click Run Test to make sure it passes. Edit the test knowing it will cause a failure, don't save and click Run Test. It will pass.

Expected behavior

Document to be saved so when Run Test is invoked it builds the project with saved files.

Actual behavior

File not saved and uses pre existing build

@DustinCampbell
Copy link
Member

Thanks for filing @jchannon!

@jchannon
Copy link
Contributor Author

No worries, I think the issue also applies to Debug Test too

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

No branches or pull requests

2 participants