Skip to content

Conversation

@Evangelink
Copy link
Member

@Evangelink Evangelink commented Jan 8, 2026

Copilot AI review requested due to automatic review settings January 8, 2026 10:20
@dotnetrepoman dotnetrepoman bot added this to the January 2026 milestone Jan 8, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the list of available MSTest Assert APIs to reflect the current state of the MSTest framework. It adds 13 new assertion methods and removes 2 obsolete ones.

Key changes:

  • Adds new string assertion methods (DoesNotEndWith, DoesNotMatchRegex, DoesNotStartWith, MatchesRegex, StartsWith)
  • Adds new comparison assertion methods (IsGreaterThan, IsGreaterThanOrEqualTo, IsLessThan, IsLessThanOrEqualTo, IsInRange)
  • Adds numeric assertion methods (IsNegative, IsPositive)
  • Adds IsNotEmpty assertion method
  • Removes deprecated Assert.Equals and Assert.ReplaceNullChars methods

@Evangelink Evangelink enabled auto-merge (squash) January 8, 2026 10:25
@Evangelink Evangelink merged commit c8e6e01 into main Jan 8, 2026
19 checks passed
@Evangelink Evangelink deleted the dev/amauryleve/mstest-assertions branch January 8, 2026 17:48
gewarren pushed a commit to gewarren/docs that referenced this pull request Jan 8, 2026
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.

3 participants