@xunit@dotnet.social
@xunit@dotnet.social avatar

xunit

@xunit@dotnet.social

xUnit.net is a free, open source, community-focused unit testing tool for .NET. :xunit: :dotnet:

Currently maintained by https://mastodon.social/@bradwilson.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

xunit, to dotnet
@xunit@dotnet.social avatar

We just shipped v2 Core Framework 2.8.1, Analyzers 1.14.0, and Visual Studio adapter 2.8.1.

Release notes:

https://xunit.net/releases/v2/2.8.1
https://xunit.net/releases/analyzers/1.14.0
https://xunit.net/releases/visualstudio/2.8.1

#dotnet #csharp #fsharp #unittest #tdd

xunit, to random
@xunit@dotnet.social avatar

If you find your tests are running slower in 2.8.0, don't forget that we changed the parallelization algorithm, and you can revert back to the old one if needed. https://github.com/xunit/xunit/issues/2920#issuecomment-2123176031

xunit, to random
@xunit@dotnet.social avatar

Someone asked about supporting async data sources (for example, a data method which returns Task<IEnumerable<object[]>> because it needs access to async infrastructure).

While this isn't directly supported in v2 (it is in v3), we were able to put together a sample that shows how it can be done in the existing v2 architecture. If you want to do this it would only involve lifting two classes from the sample.

Code: https://github.com/xunit/samples.xunit/tree/main/AsyncDataExample

xunit, to dotnet
@xunit@dotnet.social avatar

We are proud to announce that @xunit is the May 2024 sponsor project for .NET on AWS! They're generously funding our development efforts for the next 12 months.

Check out their Open Source Software Fund: https://github.com/aws/dotnet-foss

#dotnet #oss #foss #aws

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines