The class functionality of the class then drinks the squeaks of tests and the starting of the refactoring, bug fixes and the next tests until all tests will not begin to work correctly.

#coding #refactoring #unittest #kde #linux #CPP #Qt

So made a source generator - ended up rather complex.
But I find unit testing it very tedious when verifying the generated output via Verify.

Is it not possible to load a class/instance as source in the testing, and use it as foundation for the generator. Instead of having to manually writing (and maintaining) the source as a string to then parse into a syntax tree to verify output? I mean it can generate on compile time, so why not at test? :D

#dotnet #sourcegenerator #unittest

We just shipped prerelease builds of core framework (3.0.0-pre.15) and analyzers (1.23.0-pre.3).

This is a major version update with breaking changes. Check the release notes for more information.

https://xunit.net/releases/v3/3.0.0-pre.15
https://xunit.net/releases/analyzers/1.23.0-pre.3

#DotNet #CSharp #FSharp #UnitTest #TDD

Release Notes for v3 3.0.0-pre.15 [2025 June 7]

Documentation site for the xUnit.net unit testing framework

xUnit.net

We just shipped core framework v3 2.0.3, analyzers 1.22.0, and Visual Studio adapter 3.1.1.

Check the release notes for new features and bugs fixed.

https://xunit.net/releases/v3/2.0.3
https://xunit.net/releases/analyzers/1.22.0
https://xunit.net/releases/visualstudio/3.1.1

#DotNet #CSharp #FSharp #UnitTest #TDD

Release Notes for v3 2.0.3 [2025 June 7]

Documentation site for the xUnit.net unit testing framework

xUnit.net

As it turns out, there were some fundamental problems with the testing-strategy I had in mind for testing the PACT processes. That is, problems with how I'd planned to implement those tests, not with which tests needed to be implemented (at least not yet). Those issues took a bit of thinking through, and there were some interesting results from related investigation.

#UnitTest #Python

https://goblinfish-code.blogspot.com/2025/05/when-not-to-mock-or-patch.html

When not to mock or patch

Despite taking a break from working on the unit test stubs for the goblinfish-testing-pact package , it hasn’t been far from my thoughts, f...

We just shipped core framework v3 2.0.2 and Visual Studio adapter 3.1.0.

Check the release notes for new features and bugs fixed.

Note: The Visual Studio adapter has moved up to .NET 8 (from .NET 6).

https://xunit.net/releases/v3/2.0.2
https://xunit.net/releases/visualstudio/3.1.0

#DotNet #CSharp #FSharp #UnitTest #TDD

Release Notes for v3 2.0.2 [2025 May 3]

Documentation site for the xUnit.net unit testing framework

xUnit.net

Quelques bonnes pratiques pour tester votre application Node.js.

🔗 https://github.com/goldbergyoni/nodejs-testing-best-practices#readme

#nodejs #testing #unittest

GitHub - goldbergyoni/nodejs-testing-best-practices: Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2025)

Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2025) - goldbergyoni/nodejs-testing-best-practices

GitHub

We have a prototype of the API documentation online: https://api.xunit.net/

We're not sure if it will live on a separate URL forever, but until the main site is rebuilt with DocFX, this is how it has to be for now.

Feedback welcome!

#DotNet #UnitTest #TDD

We just shipped core framework v3 2.0.1 and source analyzers 1.21.0.

Check the release notes for new features and bugs fixed.

https://xunit.net/releases/v3/2.0.1
https://xunit.net/releases/analyzers/1.21.0

#DotNet #CSharp #FSharp #UnitTest #TDD

Release Notes for v3 2.0.1 [2025 April 5]

Documentation site for the xUnit.net unit testing framework

xUnit.net