microsoft / playwright-dotnet

.NET version of the Playwright testing and automation library.
https://playwright.dev/dotnet/
MIT License
2.47k stars 235 forks source link

[BUG] No Assert.AreEqual available #2047

Closed Northimus closed 2 years ago

Northimus commented 2 years ago

Using:

Seems that documentation is outdated? I cant find "Assert.AreEqual" image image There is "Assert.Equal" though, probably the same?

image

mxschmitt commented 2 years ago

See here: https://playwright.dev/dotnet/docs/test-runners#xunit-support

We strongly discourage using xunit.

Northimus commented 2 years ago

See here: https://playwright.dev/dotnet/docs/test-runners#xunit-support

We strongly discourage using xunit.

Ok but Assert itself is from Playwright, not xunit?

mxschmitt commented 2 years ago

Assert is from xunit, its always test-runner specific (different to nunit or msedge)