home.social

#nsubstitute — Public Fediverse posts

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

  1. New post from my blog...

    In case you missed it earlier...

    Testing in .NET with xUnit + NSubstitute + Shouldly
    barretblake.dev/posts/developm

  2. github.com/robrich/net-testing - I modified my #dotNET #Testing #BestPractices talk. It's still #NoSlides, #demos only. Now it uses #NSubstitute, #AutoFixture, and Shoudly. A great simplification and easy transition. Can I present it at your conference or meetup?

  3. My talk went great! :-)

    I had a full "room"!

    And here is my promised repo on dealing with integration tests in #dotnet

    You can see #testcontainers utilized, #docker, #xunit custom parallel framework, #NSubstitute, #TestServer and all in #csharp testing e2e #HTTP #APIs with #auth, #MySQL, #Redis, #RabbitMQ and #MongoDB.

    github.com/vmandic/dotnet-inte

  4. @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.

  5. @ICooper
    Hi!
    What's going on with #moq ? I'm on vacation and have a real poor connection.
    I think most of my #dotnet projects use #moq and there's a bot that automatically upgrade dependencies so I know I have some work to do to (either downgrade or move to #nsubstitute)

    Any link that sum up that issue ?

  6. @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 🤣

  7. #.NET #MOCKING #NSubstitute #MOQ

    Any strong opinions out there about NSubstitute vs. Moq for .NET MAUI apps?

    [Edited]