#xunit — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #xunit, aggregated by home.social.
-
via @dotnet : Supercharge Your Test Coverage with GitHub Copilot Testing for .NET
https://ift.tt/HnlU7Tg
#GitHubCopilot #NET #UnitTesting #VisualStudio #AIPoweredDevelopment #SoftwareTesting #CodeCoverage #DevCommunity #MSTest #xUnit #NUnit #TestAutomation #Soft… -
@bradwilson I saw your issue about #JetBrainsRider not supporting @xunit v3 with Microsoft.Testing.Platfrom v2
With #dotnet 10 how would a minimal project using MTP v2 and #xunit v3 look like now.
Like this?
https://github.com/bitbonk/rider-mtp-v2-repro/pull/1
Or do I still need the xunit.v3.mtp-v2 package or even the bool msbuild properties
TestingPlatformDotnetTestSupport or UseMicrosoftTestingPlatformRunner -
via @dotnet : Enhance your CLI testing workflow with the new dotnet test
https://ift.tt/Yp23zum
#dotnet #dotnettest #CLITesting #MicrosoftTestingPlatform #MTP #VSTest #NUnit #xUnit #MSTest #TUnit #TestingWorkflow #SoftwareTesting #DevOps #ContinuousIntegration #… -
xUnit Test Patterns: Contract Test — https://zalas.pl/contract-test/
Contract Tests are examples that describe the behaviour of an abstraction by expressing what cannot be encoded in the type system. These are typically helpful in testing adapters as defined in the Ports & Adapters architecture.
Examples in #kotlin, but the pattern is universal.
-
Искусство Unit-тестирования: Сокращаем Arrange до Нуля
Unit-тесты очень важно и нужно писать, но вот незадача — на них никогда не хватает времени! Прочитав эту статью, вы узнаете абсолютно новый способ их написания, который сэкономит кучу времени и нервов. Эта статья будет полезна .NET разработчикам, которые когда-либо сталкивались с написанием unit тестов, а также тим и техлидам в поиске оптимальной практики для своей команды.
https://habr.com/ru/companies/ruvds/articles/894522/
#unit_tests #csharp #dotnet #autofixture #xunit #autodata #ruvds_статьи
-
🚀 Neat! #Duende is sponsoring #dotnet project Shouldy for the next year for $3,000. #unittesting #xunit #nunit #mstest
https://blog.duendesoftware.com/posts/20250415-shouldly-assertion-framework/
-
via @dotnet : Microsoft.Testing.Platform: Now Supported by All Major .NET Test Frameworks
https://ift.tt/Y5EOJMG
#MicrosoftTestingPlatform #DotNet #TestFrameworks #MSTest #NUnit #xUnit #Expecto #TUnit #OpenSource #DevCommunity #ContinuousIntegration #TestingEcos… -
I am slowly getting the hang of this #propertybasedtesting thing ;-)
#FSharp #dotnet #FsCheck #xunit -
With #testcontainers, you can spin up and tear down #Docker containers in your tests.
If you need a database, you don’t need to mock it: your #xUnit, #NUnit, and #MSTest code can launch an actual database!
Learn more in this blog post by @khalidabuhakmeh: https://jb.gg/ua9vjg
-
@bradwilson @xunit A right, I forgot about that one. I have been an avid #FluentAssertions user since ages, so my knowledge about the #xUnit assertion landscape is a bit rusty.
-
Okay, I'm pretty happy with #xunit and #fluentassertions.
Check out this test: https://github.com/wadewegner/wordle-solver/blob/main/Tests/SuggestionEngineTests.cs#L30
First, I'm pleased with my cleverness when constructing a set of shorthand for building guesses to evaluate the responses.
Second, I love the syntax of FluentAssertions.
-
@WadeWegner I've read a lot about #xunit (IIRC it's from the same dev that made #NUnit ). It's a lot simpler to setup, but lacks some features that they feel promotes bad practices. I use NUnit at work with no complaints, but I've been using xUnit for my OSS projects since there's less ceremony (setups are constructors and teardowns are handled by implementing IDisposable)