home.social

#fakeiteasy — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #fakeiteasy, aggregated by home.social.

fetched live
  1. @firewyre @carlfranklin I'm looking at #NSubstitute and #FakeItEasy this weekend. Both have features that #MOQ lacks. But they both feel different and weird. There was a time when #RhinoMocks was it and everything else felt different and weird.

  2. @ecoAPM I switched from #FakeItEasy to #NSubstitute a few years back because I like the syntax better. Looks like perf is a bit worse, but not enough to justify switching back. I’ll need to check out #Rocks though for sure; I hadn’t heard of that one and it looks like the top contender. For a moment I was curious about Stub too, thinking it was another library I hadn’t heard of 🤣

  3. @khalidabuhakmeh Oh wow, that‘s nice! That’ll probably produce some much cleaner mocking code than the usual #dotnet mocking libs like #FakeItEasy #Moq #NSubstitude
    Can I use a ValueTuple dog instead of a record dog? That’d spare me the declaration of the dog type.