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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

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.

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
3 participants