Youssef (of the Microsoft TestFx team) is working on a personal project to add support for Microsoft.Testing.Platform to v2 projects, for those who are not yet able to migrate to v3. https://github.com/Youssef1313/YTest.MTP.XUnit2 #DotNet #UnitTest
GitHub - Youssef1313/YTest.MTP.XUnit2

Contribute to Youssef1313/YTest.MTP.XUnit2 development by creating an account on GitHub.

GitHub
Is there interest in us shipping ready-made binaries of xunit.v3.runner.console (via the xunit.v3.runner.console NuGet package) that target .NET instead of .NET Framework? Which runtime IDs would you need to be supported? https://learn.microsoft.com/en-us/dotnet/core/rid-catalog #DotNet #UnitTest
.NET Runtime Identifier (RID) catalog - .NET

Learn about the runtime identifier (RID) and how RIDs are used in .NET.

Tạm biệt `@Autowired` trên field – đã đến lúc chuyển sang Constructor Injection trong Spring Boot! 🔧 Viết code đúng chuẩn Java hơn: bất biến (immutable), dễ test, phát hiện lỗi sớm và tuân thủ nguyên tắc thiết kế. Dùng `@RequiredArgsConstructor` của Lombok để tiết kiệm công sức. Kiến trúc tốt bắt đầu từ những lựa chọn nhỏ.

#SpringBoot #Java #CleanCode #DependencyInjection #UnitTest #Lombok #Spring #KiếnTrúcPhầnMềm #LậpTrìnhJava #TốiƯuCode

https://dev.to/rajatarora/the-dependency-injection-d

Bạn thay đổi một dòng code nhỏ, và mọi thứ sụp đổ? Đừng lo, **pytest** giúp bạn kiểm soát! Với cú pháp đơn giản, chỉ cần viết hàm bắt đầu bằng `test_` và dùng `assert`, pytest tự động tìm và chạy test. Cài đặt: `pip install pytest`, viết test cho hàm, rồi chạy `pytest`. Dễ hiểu, ít cấu hình, báo lỗi rõ ràng. Bắt đầu ngay hôm nay để code tự tin hơn!

#pytest #testing #Python #lập_trình #kiểm_thử #mã_nguồn #dev #programming #unittest #automation

https://dev.to/devasservice/getting-started-with-

We are considering dropping support for Mono from the next major version. (It will likely continue to work, we just won't officially support it.)

Are you still using Mono to run tests? If so, on which OSes? #DotNet #UnitTest

Linux
2.4%
macOS
0%
Windows
2.4%
None of the above
95.2%
Poll ended at .

After fighting with DevOps over testing some legacy time conversions; I managed to fail a unit test because I used a control date from before daylight saving was introduced, so my expected offset was incorrect :)

I feel old.

#dotnet #unittest #test

@riffraff I join on the question on test naming. I know a scheme with subject_onAction_expectedBehaviour, but that clashes with snake case (and gives warnings when running tests)

#rust #rustlang #test #tdd #unittest #namingthings

We just shipped Core Framework v3 3.2.1 and Analyzers 1.26.0.

This is primarily a bug fix release. Check the release notes for more information.

https://xunit.net/releases/v3/3.2.1
https://xunit.net/releases/analyzers/1.26.0

#DotNet #CSharp #FSharp #UnitTest #TDD

Core Framework v3 3.2.1 [2025 November 28] | xUnit.net

We're going to start pushing CI builds for 4.0.0, as we have two feature branches that require a major version bump already. There's no planned release date yet (not even a planned NuGet release yet), so no idea how long the branch will live.

#DotNet #CSharp #FSharp #UnitTest #TDD