{testthat} is great for automatic testing. Here are some tricks for the heavy user: https://blog.r-hub.io/2020/11/18/testthat-utility-belt/ #rstats #testing #unittest #testthat
Helper code and files for your testthat tests - R-hub blog

If your package uses testthat for unit testing, as many packages on CRAN, you might have wondered at least once about where to put โ€œthingsโ€ you wished to use in several tests: a function generating a random string, an example image, etc. In this blog post, we shall offer a round-up of how to use such code and files when testing your package. Code called in your tests Remember our post about internal functions in R packages? What about internal functions in unit tests of R packages? And code that needs to be run for tests?

We just shipped Core Framework v3 4.0.0-pre.128 and Analyzers 2.0.0-pre.56.

This release is primarily a bug fix release with a few small features.

https://xunit.net/releases/v3/4.0.0-pre.128
https://xunit.net/releases/analyzers/2.0.0-pre.56

#DotNet #CSharp #FSharp #UnitTest #TDD

Core Framework v3 4.0.0-pre.128 [2026 May 31] | xUnit.net

๐Ÿšจ NEWS: Piramide del Testing: la giusta proporzione tra Unit, Integration ed E2E

Ecco i punti chiave in breve:
๐Ÿ’ก Il problema: test che ti fanno perdere tempo o che non trovano i bugHai una suite di test che impiega un'ora per finire. Oppure ne hai una che passa sempre, ma i bug arrivano in...

๐Ÿš€ LINK: https://meteoraweb.com/analisi-dei-dati-e-metriche/piramide-del-testing-la-giusta-proporzione-tra-unit-integration-ed-e2e

#sviluppoSoftware #testing #piramideDelTesting #unitTest #integrationTest

There will be another prerelease of @xunit, presumably this weekend. A remarkable amount of stuff arrived over the past few weeks (though thankfully not very many bugs) that I really want to get in. I'd also really like to see whether ttps://github.com/xunit/xunit/pull/3581 can land for 4.0, because more flexible parallelization options has been a long-requested feature. #DotNet #UnitTest #CSharp

I know I'm a geek - but there's a certain degree of satisfaction in having a test made to fail after a refactoring actually fail as expected and then implementing the fix as expected.

And to imagine some people want to offload that satisfaction to a LLM tsk tsk tsk.

#developer #test #unittest

When I released Lottie4J 1.1.0, I mentioned something a bit embarrassing in the release notes and this blog post: there was a new unit test to compare the JavaFX player output against a JavaScript reference player, but it "can not run on CI, because it requires a display output." A TODO. A known limitation. Oneโ€ฆ...
#githubactions #headlessjavafx #lottie4j #unittest
https://foojay.io/today/testing-lottie4j-javafx-animations-in-github-actions-with-javafx-26-headless/
Testing Lottie4J JavaFX Animations in GitHub Actions Without a Display: JavaFX 26 Headless to the Rescue

foojay is the place for all OpenJDK Update Release Information. Learn More.

foojay

We just shipped Core Framework v3 4.0.0-pre.108 and Analyzers 2.0.0-pre.51.

This release adds new features, new analyzers, and fixed several bugs. We anticipate these being the final prerelease builds of this cycle. Please test thoroughly!

https://xunit.net/releases/v3/4.0.0-pre.108
https://xunit.net/releases/analyzers/2.0.0-pre.51

#DotNet #CSharp #FSharp #UnitTest #TDD #NativeAOT

Core Framework v3 4.0.0-pre.108 [2026 May 2] | xUnit.net

There will be another prerelease coming this weekend.

Since we like to have prerelease builds stable for a month before declaring them release, please make sure to use the current and upcoming builds to verify, especially with Native AOT.

Thanks!

#DotNet #UnitTest #NativeAOT #CSharp

๐Ÿ”ฅ A decade-old unit test with an existential crisis set for 2026โ€”because nothing screams foresight like a ticking time bomb in your codebase. ๐Ÿงจ Meanwhile, Mastodon reminds us that enabling #JavaScript is still a revolutionary act in the web 3.0 era. ๐Ÿ’ป
https://mastodon.social/@jdm_/116429380667467307 #unitTest #existentialCrisis #web3 #revolution #codingMastodon #HackerNews #ngated