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

Add documentation about the TestContext #43420

Merged
merged 12 commits into from
Dec 5, 2024

Conversation

@Evangelink Evangelink requested review from IEvangelist and a team as code owners November 12, 2024 09:46
@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 12, 2024
Copy link
Contributor

@gewarren gewarren left a comment

Choose a reason for hiding this comment

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

Thanks for adding this. It would be ideal if you can add the longer code snippets to a project so it's automatically verified to compile.

Co-authored-by: Genevieve Warren <[email protected]>
@Evangelink
Copy link
Member Author

It would be ideal if you can add the longer code snippets to a project so it's automatically verified to compile.

Could you please provide me with an example?

@gewarren
Copy link
Contributor

Could you please provide me with an example?

Yes, here is an example that links to a separate code file that's part of a project. You can either reference an entire code file, or a specific "snippet" as defined by "id". You can also highlight certain lines in the snippet using "highlight". Example.

@Evangelink
Copy link
Member Author

Ping @IEvangelist

@Evangelink
Copy link
Member Author

@gewarren Could you please review/merge?

@gewarren gewarren enabled auto-merge (squash) December 5, 2024 18:25
@gewarren gewarren merged commit 09c2aff into dotnet:main Dec 5, 2024
8 checks passed
@Evangelink Evangelink deleted the mstest-testcontext branch December 5, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document TestContext property
4 participants