Skip to content

Add tests for WebApplicationFactory<T> issues with minimal hosting #33890

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

Conversation

martincostello
Copy link
Member

PR Title

Add tests for WebApplicationFactory<T> issues.

PR Description

Add unit tests that replicate #33876 and #33889.

@ghost ghost added area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates community-contribution Indicates that the PR has been added by a community member labels Jun 27, 2021
}

[Fact]
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/33889")]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if this was the right syntax or not for a test known to be failing due to an active issue so it gets ignored and doesn't break the build.

martincostello added a commit to martincostello/aspnetcore that referenced this pull request Jun 27, 2021
Miscellaneous style and code analyzer fixes from things Visual Studio
was complaining to me about while I was working on dotnet#33890.
pranavkm pushed a commit that referenced this pull request Jun 28, 2021
Miscellaneous style and code analyzer fixes from things Visual Studio
was complaining to me about while I was working on #33890.
@javiercn
Copy link
Member

@martincostello we typically don't add these types of tests.

I'll let @davidfowl handle this, since he's been active in the area.

@javiercn javiercn assigned davidfowl and unassigned javiercn Jun 28, 2021
@martincostello martincostello force-pushed the WebApplicationFactoryT-Issues branch from ab0ee4a to d5c606f Compare July 5, 2021 13:42
@davidfowl
Copy link
Member

I think I understand these issues now.

@davidfowl
Copy link
Member

Superseded by #34794

@davidfowl davidfowl closed this Jul 28, 2021
@martincostello martincostello deleted the WebApplicationFactoryT-Issues branch August 10, 2021 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants