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

How to run tests against IL Linked assemblies? #917

Closed
rubberduck203 opened this issue Aug 31, 2017 · 3 comments
Closed

How to run tests against IL Linked assemblies? #917

rubberduck203 opened this issue Aug 31, 2017 · 3 comments

Comments

@rubberduck203
Copy link

The IL Linker announced in #915 is fantastic.
I'm seeing a 71% reduction in final size!

The Linker Instructions mention that the final executables need to be tested after linking.

Linking only happens during publish, and therefore the linked app needs to be tested after publish, not just after build.

This makes complete sense, but I can't find any information on how to run my tests with dotnet test against an already compiled executable. Is there a way? If so, can this information (or a link to it) be added to the linker instructions?

@Petermarcu
Copy link
Member

That is a great question. @ManishJayaswal can you give any advice on how someone can run their tests against a published output?

@ManishJayaswal
Copy link

I don't think we have a good solution at this time other than to publish the tests as apps and then run them.
@codito - do you know if you guys are thinking about this?

@Petermarcu
Copy link
Member

Let's track this issue here and make sure folks have instructions on how to do it. https://github.com/dotnet/cli/issues/7570

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