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.
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.
🚨 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...
#unitTest #cI/CD #jest #testingJavaScript #typeScriptTesting
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
🚨 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...
#sviluppoSoftware #testing #piramideDelTesting #unitTest #integrationTest
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.