Yeah, run #python #unittest right there in #FreeCAD, why the heck not.

Un moyen de faire tourner des tests unitaires avec des vraies dependences (base de données, etc.) plutôt que des mocks, grâce à des containers légers.

🔗 https://testcontainers.com/

#Docker #container #unittest #test

"Testcontainers"

"Testcontainers is an opensource library for providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container."

Testcontainers

🚨 NEWS: Jest testing JavaScript e TypeScript completo: guida operativa

Ecco i punti chiave in breve:
💡 Hai scritto una funzione, l'hai testata a mano in console.log, sembra funzionare, la mandi in produzione e dopo due giorni arriva la segnalazione: “non funziona quando l'input è negativo”. Lo vediamo...

🚀 LINK: https://meteoraweb.com/analisi-dei-dati-e-metriche/jest-testing-javascript-e-typescript-completo-guida-operativa-h3txh

#unitTest #cI/CD #jest #testingJavaScript #typeScriptTesting

{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