https://github.com/robrich/net-testing-best-practices - I modified my #dotNET #Testing #BestPractices talk. It's still #NoSlides, #demos only. Now it uses #NSubstitute, #AutoFixture, and Shoudly. Can I present it at your conference or meetup?
https://github.com/robrich/net-testing-best-practices - I modified my #dotNET #Testing #BestPractices talk. It's still #NoSlides, #demos only. Now it uses #NSubstitute, #AutoFixture, and Shoudly. Can I present it at your conference or meetup?
https://github.com/robrich/net-testing-best-practices - 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?
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.
🚀 Ready to master unit testing in .NET? Learn how to use #xUnit, #NSubstitute, and #AutoFixture in this step-by-step guide with HangfireDemoApi. From mocking to background tasks, we’ve got you covered!
Read more 👉 https://wp.me/p29SK-Wy
#UnitTesting #DotNet #developers
Our Experience With the Migration From #Moq to #NSubstitute #dotNet #testing
https://improveandrepeat.com/2023/12/our-experience-with-the-migration-from-moq-to-nsubstitute/
How to Migrate from #Moq to #NSubstitute - #dotNet
https://improveandrepeat.com/2023/09/how-to-migrate-from-moq-to-nsubstitute/
https://www.reddit.com/r/dotnet/comments/15ljdcc/does_moq_in_its_latest_version_extract_and_send/ - #MoQ got caught including #spyware. Though the spyware is now also open-source, it's still there. https://github.com/hassanhabib/CleanMoq is a spyware-free fork or move to #NSubstitute.
See also:
- https://dev.to/pbouillon/the-moq-gate-you-either-die-a-hero-8
- https://www.nuget.org/packages/CleanMoq
- https://nsubstitute.github.io/
@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.
@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 ?
@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 🤣
#.NET #MOCKING #NSubstitute #MOQ
Any strong opinions out there about NSubstitute vs. Moq for .NET MAUI apps?
[Edited]