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

Runner utility support of test discovery in test assembly #2412

Closed
kareemshibli opened this issue Oct 27, 2021 · 2 comments
Closed

Runner utility support of test discovery in test assembly #2412

kareemshibli opened this issue Oct 27, 2021 · 2 comments

Comments

@kareemshibli
Copy link

kareemshibli commented Oct 27, 2021

i have two cs projects one is test project and the other xunit runner project and iam trying to run the test dll from the first project in the second project.
now if i understand this correctly the test project is in a different app domain from xunit runner project and thus i need to load it to my runner project app domain.
after i did this and try to run test dll, xunit runner could not discover any test ? what is needed to discover tests in my test dll ?

note: there is no errors bout missing dll's from test roject
note: when i merge these two projects to one project and get single deployable unit the discovery works

thanks

environment:
.NET 5

@kareemshibli kareemshibli changed the title Runner utility support of assembly in other app Domain Runner utility support of test discovery in test assembly Oct 27, 2021
@bradwilson
Copy link
Member

I'm sorry, I'm going to need more information about what you're trying to do; in particular, a repro case would be useful here to help me understand what's going wrong.

@bradwilson
Copy link
Member

Closing for age. Please open a new issue with a full repro project. Thanks!

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