xunit,
@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

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