You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Confusing to refer users to *Integration* testing for ASP .NET Core when this is a *unit* test page #15752
The title of this page is "Unit testing C# in .NET Core...", but near the top of the page there is a line that reads:
"This article is about testing a .NET Core project. If you're testing an ASP.NET Core project, see Integration tests in ASP.NET Core."
If a user is on this page they are probably looking for a way to unit test ASP .NET Core (like me), not integration test. There are pages in the docs for unit testing Razor Pages and MVC apps, so shouldn't those be linked instead?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: e39c2f1b-f41a-bdf9-2646-09379941453d
Version Independent ID: 422811c-6287-03af-ba8d-1daebee9744d
changed the title [-]Confusing to link refer users to *Integration* testing for ASP .NET Core when this is a *unit* test page[/-][+]Confusing to refer users to *Integration* testing for ASP .NET Core when this is a *unit* test page[/+]on Nov 7, 2019
To be fair, there's not much to unit test in an ASP.NET Core app that's specific to ASP.NET Core (not the app's business logic) and which isn't better-tested using integration tests outlined in the referenced doc article.
Yes I know. But with how people find articles and the context they assume they are written in, add in the confusing ASP.NET Core vs .NET Core situation, and we need explicit contextual articles. Even if the only difference is titles and some wording or project names.
(Or have both contexts described in the same article)
Activity
[-]Confusing to link refer users to *Integration* testing for ASP .NET Core when this is a *unit* test page[/-][+]Confusing to refer users to *Integration* testing for ASP .NET Core when this is a *unit* test page[/+]Thraka commentedon Nov 8, 2019
This is true. The ASP.NET docset shouldn't be pulling this article into their TOC and instead should have their own article. /cc @Rick-Anderson
ardalis commentedon Nov 8, 2019
To be fair, there's not much to unit test in an ASP.NET Core app that's specific to ASP.NET Core (not the app's business logic) and which isn't better-tested using integration tests outlined in the referenced doc article.
Thraka commentedon Nov 14, 2019
Yes I know. But with how people find articles and the context they assume they are written in, add in the confusing ASP.NET Core vs .NET Core situation, and we need explicit contextual articles. Even if the only difference is titles and some wording or project names.
(Or have both contexts described in the same article)
Rick-Anderson commentedon Nov 14, 2019
Unit testing C# in .NET Core using dotnet test and xUnit doesn't belong in our TOC
We do.
That link shouldn't be at the top of the page. At most, it should be at the bottom under Additional resources
Rick-Anderson commentedon Nov 14, 2019
cc @guardrex