leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

adamchainz, to python
@adamchainz@fosstodon.org avatar

✍️ New post with a testing tip for mocking inner imports.

https://adamj.eu/tech/2024/05/17/python-mock-inner-import/

adamchainz, to python
@adamchainz@fosstodon.org avatar

A pattern I’ve recently enjoyed using:

  1. Change some function in a way that needs fixes to call sites.
  2. Run the whole test suite with pytest.
  3. Copy the list of failing test IDs from pytest’s summary into a scratch file.
  4. Fix up the found callers.
  5. Verify everything fixed by saving the list of tests with: pytest $(cat scratch/testids.txt)

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

leanpub, to Java
@leanpub@mastodon.social avatar

Testing Spring Boot Applications Demystified by Philip Riecks is free with a Leanpub Reader membership! Or you can buy it for $9.00! http://leanpub.com/testing-spring-boot-applications-demystified

zwovierzwo, to debian

Mal eine Frage in die Gemeinschaft.
Vor längerer Zeit hatte ich Mal eine Anleitung wie man in ein #Debian stable einbaut das manche (nicht alles) Pakete aus dem #Testing oder #unstable installiert werden. Mit allen Risiken ich weiß.

Leider finde ich die nicht mehr.
Hat hier jemand einen Tipp 🤔

Danke schon mal

LateNightLinux, to linux
@LateNightLinux@mastodon.cloud avatar

Andy is a huge proponent of test-driven development and explains why – including types of code testing including unit tests and integration tests, when you actually need to run tests, how long they should take, and more.

https://www.linuxdevtime.com/linux-dev-time-episode-97/

bmispelon, to django
@bmispelon@mastodon.social avatar
predrag, to rust
@predrag@hachyderm.io avatar

cargo-semver-checks now adds the latest Rust to its CI test matrix automatically 🤩

I love automating repetitive maintenance work, and Rust 1.78 is a great real-world test case to make sure this new automation works properly. It did!
https://github.com/obi1kenobi/cargo-semver-checks/pull/773

henrikjernevad, to programming
@henrikjernevad@mastodon.social avatar

Why should you unit test? What should you unit test? And how much?

Today's blog post answers these questions and provides some helpful guidelines.

The post is actually a lightly edited extract of a book on unit testing that I started about 10 years ago but never finished. Still, it has aged reasonably well.

https://henko.net/blog/why-write-unit-tests/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • cubers
  • InstantRegret
  • cisconetworking
  • Youngstown
  • vwfavf
  • slotface
  • Durango
  • rosin
  • everett
  • kavyap
  • DreamBathrooms
  • provamag3
  • mdbf
  • khanakhh
  • modclub
  • tester
  • ethstaker
  • osvaldo12
  • GTA5RPClips
  • ngwrru68w68
  • Leos
  • anitta
  • tacticalgear
  • normalnudes
  • JUstTest
  • All magazines