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

Update xUnit #196

Closed
MaxAtoms opened this issue Feb 6, 2024 · 1 comment
Closed

Update xUnit #196

MaxAtoms opened this issue Feb 6, 2024 · 1 comment

Comments

@MaxAtoms
Copy link
Member

MaxAtoms commented Feb 6, 2024

In xUnit the class AssertActualExpectedException does not seem to exist anymore.
We therefore get a build error in Step.cs with XUnit Version 2.6.6.

Todo: Find out how we can obtain the necessary information so that we can guide the user like before.

@Sricharan-Anugandula
Copy link
Contributor

Sricharan-Anugandula commented Oct 22, 2024

Hi,
For this when we upgrade to latest version of Xunit ,AssertActualExpectedException does not exist anymore . For this problem we can use XunitException instead of AssertActualExpectedException .

New XunitException does not contain actual and expected properties like before so we can directly use Message property of
XunitException which gives almost same functionality as before.

image

For this I am attaching my PR
https://github.com/DotNetKoans/DotNetKoans/pull/200/commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants