docs: Update README examples to use TUnit syntax instead of NUnit - #849
#849Merged
samtrion merged 2 commits intoNov 24, 2025
feature/tunit-skiponfailuredailydevops/extensions.test:feature/tunit-skiponfailurefrom
copilot/sub-pr-846-another-onedailydevops/extensions.test:copilot/sub-pr-846-another-oneCopy head branch name to clipboard
Merged
docs: Update README examples to use TUnit syntax instead of NUnit#849samtrion merged 2 commits intofeature/tunit-skiponfailuredailydevops/extensions.test:feature/tunit-skiponfailurefrom copilot/sub-pr-846-another-onedailydevops/extensions.test:copilot/sub-pr-846-another-oneCopy head branch name to clipboard
samtrion merged 2 commits into
feature/tunit-skiponfailuredailydevops/extensions.test:feature/tunit-skiponfailurefrom
copilot/sub-pr-846-another-onedailydevops/extensions.test:copilot/sub-pr-846-another-oneCopy head branch name to clipboard
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Comment |
Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update README.md with TUnit syntax examples
docs: Update README examples to use TUnit syntax instead of NUnit
Nov 24, 2025
samtrion
marked this pull request as ready for review
November 24, 2025 11:25
samtrion
added a commit
that referenced
this pull request
Nov 24, 2025
* feat: TUnit `SkipOnFailureAttribute` added * test: Updated PublicAPI definition * docs: Update README examples to use TUnit syntax instead of NUnit (#849) * Initial plan * docs: Update README examples with TUnit syntax Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com> * refactor: SkipOnFailureAttribute tests to ensure deterministic behavior (#847) * Initial plan * refactor: Replace non-deterministic RNG test with deterministic failing test Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: samtrion <3283596+samtrion@users.noreply.github.com> * fix(test): Added missing PublicAPI Definitions --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates code examples in
src/NetEvolve.Extensions.TUnit/README.md(lines 212-265) to use TUnit syntax instead of NUnit patterns:[TestFixture]attributes from class declarationsvoidtoasync TaskAssert.That(x, Is.True)) with TUnit pattern (await Assert.That(x).IsTrue()).IsTrue(),.IsLessThan()Before:
After:
Why is it important?
Documentation examples were showing NUnit syntax for a TUnit library, creating confusion. Examples now align with actual test implementation in
SkipOnFailureAttributeTests.cs.Related issues
SkipOnFailureAttributeadded #846💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.