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

Enable 'dotnet test' to be run on published output #8679

Closed
kendrahavens opened this issue Aug 31, 2017 · 7 comments
Closed

Enable 'dotnet test' to be run on published output #8679

kendrahavens opened this issue Aug 31, 2017 · 7 comments

Comments

@kendrahavens
Copy link

Steps to reproduce

After publishing users should be able to run tests on an already compiled executable.
Would address dotnet/core dotnet/sdk#4835
This is more important with the development of IL Linker #915. The Linker Instructions mention that the final executables need to be tested after linking.

Expected behavior

Be able to run 'dotnet test' on published output.

Actual behavior

You can not today. (Or we need to add documentation if you can!)

@smalpani-msft

@kendrahavens
Copy link
Author

kendrahavens commented Sep 6, 2017

@pvlakshm Adding Pratap here for visibility.

Edit: Would you mind adding the 'dotnet-test' label?

@livarcocc
Copy link
Contributor

You can use dotnet vstest for that today. Is that not enough?

@livarcocc
Copy link
Contributor

Closing this for now since dotnet vstest should be able to do this for you. If you were asking for something different, please, re-activate.

@Petermarcu
Copy link
Member

@livarcocc are there instructions on how to do that?

@Petermarcu Petermarcu reopened this Oct 6, 2017
@Petermarcu
Copy link
Member

Beyond dropping to the command line, is there a way to make the tests in the IDE run against the published output?

@livarcocc
Copy link
Contributor

Not that I know of, but I will move this to the vstest repo and they should be able to say for sure.

@livarcocc
Copy link
Contributor

This issue was moved to microsoft/vstest#1176

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
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

3 participants