Skip to content

Introduce MSTest lifecycle documentation #46540

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

Merged
merged 7 commits into from
Jun 3, 2025

Conversation

marcelwgn
Copy link
Contributor

@marcelwgn marcelwgn commented Jun 3, 2025

Summary

This PR introduces documentation for the MSTest test lifecycle as discussed here: microsoft/testfx#5637


Internal previews

📄 File 🔗 Preview link
docs/core/testing/unit-testing-mstest-writing-tests-lifecycle.md MSTest lifecycle
docs/navigate/devops-testing/toc.yml docs/navigate/devops-testing/toc

@marcelwgn
Copy link
Contributor Author

marcelwgn commented Jun 3, 2025

Open questions:

  • Is the formatting fine?
  • Are the author fields filled out correctly?
  • What else need to be configured for this page to correctly show up in the navigation

@Youssef1313
Copy link
Member

What else need to be configured for this page to correctly show up in the navigation

You need to update toc.yml for that.

- name: Writing tests
items:
- name: Overview
href: ../../core/testing/unit-testing-mstest-writing-tests.md
- name: Examples
items:
- name: C# example
href: ../../core/testing/unit-testing-csharp-with-mstest.md
- name: F# example
href: ../../core/testing/unit-testing-fsharp-with-mstest.md
- name: VB example
href: ../../core/testing/unit-testing-visual-basic-with-mstest.md
- name: Attributes
href: ../../core/testing/unit-testing-mstest-writing-tests-attributes.md
- name: Assertions
href: ../../core/testing/unit-testing-mstest-writing-tests-assertions.md
- name: TestContext
href: ../../core/testing/unit-testing-mstest-writing-tests-testcontext.md

@Youssef1313 Youssef1313 requested a review from nohwnd June 3, 2025 09:37
Copy link
Member

@Youssef1313 Youssef1313 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks @marcelwgn

This LGTM as well, and I'll :shipit: now.

@BillWagner BillWagner enabled auto-merge (squash) June 3, 2025 14:06
@BillWagner BillWagner merged commit 6f7ea0c into dotnet:main Jun 3, 2025
8 checks passed
@marcelwgn marcelwgn deleted the dev/mstest-lifecycle branch June 3, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Indicates PR is created by someone from the .NET community. dotnet-fundamentals/svc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants