Supercharge Your Test Coverage with GitHub Copilot Testing for .NET - .NET Blog

Boost your testing workflow with GitHub Copilot testing for .NET, available now in Visual Studio. Automatically generate, build, and run high-quality unit tests for files, projects, or entire solutions.

.NET Blog
Enhance your CLI testing workflow with the new dotnet test - .NET Blog

Learn how .NET 10 transforms dotnet test with native Microsoft.Testing.Platform integration, delivering better performance and enhanced diagnostics.

.NET Blog

OK, I'm getting more aquainted with #csharp again.

Today's fun thing:
The #NUnit test I made was saying "this doesn't match!"
So I did a test using print statements (er, System.WriteLines). Actually those objects *do* match. Except these others don't!
At which point #NUnit was probably like "well that's what I've been trying to tell you the whole time!"

In other news, I have identical #XML files (file1, file2) that, when loaded into the program, yield different objects (according to Equals and GetHashCode). yet, loading file1, saving it to disk, and loading it again produces object equal to one first loaded. Buuut these are identical files tho? Urrrggghhhjjjh my head hurts

LinkedIn

This link will take you to a page that’s not on LinkedIn

Duende Software Blog

We help companies using .NET to build identity and access control solutions for modern applications.

Use BrowserStack App Automate with Appium UI Tests for .NET MAUI Apps - .NET Blog

In this post, learn how to run your Appium UI Tests for .NET MAUI Apps on real devices on the cloud using BrowserStack App Automate.

.NET Blog
Microsoft.Testing.Platform: Now Supported by All Major .NET Test Frameworks - .NET Blog

All major .NET testing frameworks are now supporting Microsoft.Testing.Platform. Whether you are using Expecto, MSTest, NUnit, TUnit, or xUnit.net, you can now leverage the new testing platform to run your tests.

.NET Blog
Release Release v4.0.0 · nhamcrest/NHamcrest

What's Changed Update xunit to v3 & more deps. by @CaptnCodr in #23 BREAKING CHANGE: Update to xunit.v3 & NUnit v4 (dropping .NET Framework) Full Changelog: 3.4.0...4.0.0

GitHub

Monday is perfect day for complaints to be ignored, so here's another one, for NUnit:

Invalid signature for SetUp or TearDown method: CollectTrampolines

Thank you very much for doing all those checks and NOT telling me which one of them failed.

#programming #dotNET #CSharp #NUnit

Testing .NET components that directly use Entity Framework Core can be tricky.

In this blog post, I show how to glue together libraries like Testcontainers and Respawn with NUnit to create reliable and easy-to-read tests.

https://renatogolia.com/2024/08/04/reliably-testing-components-using-ef-core/

#dotnet #csharp #efcore #nunit

Reliably testing components that use Entity Framework Core

Reliably testing components using Entity Framework Core can be quite problematic. Targeting a real database comes with its own challenges. Let’s solve that!

It's all about tech