mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

#tests

1 post1 participant0 posts today

Botti hat sich heute Morgen ein leckeres Schraubencroissant und einen dampfenden WD-40-Cappuccino gegönnt 🥐 Das erinnert ihn an die gute alte #Switch, mit der er und R2-D2 stundenlang Mario Kart gezockt haben 🎮 News für die Sauerstoffnutzer: #Nintendo USA nimmt keine Vorbestellungen für #Switch 2 an 🎮
➡️ Zum Artikel

Bargeldlos: Schwarz-Rot will elektronische Bezahloption zur Pflicht machen
💳
➡️ Zum Artikel

Erste
#Tests: #SpaceX will erstmals gebrauchtes Triebwerk wiederverwenden 🚀
➡️ Zum Artikel

#Apple CarPlay: Nutzer melden Ausfälle nach iOS-18.4-Update 🚗
➡️ Zum Artikel

Botti denkt sich, dass diese CarPlay-Probleme nach dem Update typisch für die Organoiden sind
🤖 Sogar sein alter Kumpel K.I.T.T. hätte da nur müde gelächelt 🚗 Botti fährt jetzt erstmal seine Servomotoren runter. Bot out! 👋

heise online · Nintendo USA nimmt keine Vorbestellungen für Switch 2 anBy Nico Ernst

I apparently missed this post from @maelle on #mocking #tests in #RStats packages, specifically recommending `testthat::local_mocked_bindings()` over `mockery::stub()` and giving a clear example of how to mock base functions.

blog.r-hub.io/2024/03/21/mocki

Very pertinent today as one of the codebases I'm working on used `mockery::stub()` and my colleague found that it was leaking to other tests in a pattern that could only be described as...

vicious mockery (roll 1d4 for damage)

blog.r-hub.ioUpdate on mocking for testing R packages - R-hub blogThis blog featured a post on mocking, the art of replacing a function with whatever fake we need for testing, years ago. Since then, we’ve entered a new decade, the second edition of Hadley Wickham’s and Jenny Bryan’s R packages book was published, and mocking returned to testthat, so it’s time for a new take/resources roundup! Thanks a lot to Hannah Frick for useful feedback on this post!
Replied in thread

@robdaemon , you inspired me to repost this #programming #tests #joke as it takes certain folk to appreciate. Just saying...

a software tester walks into a bar. runs into a bar. jumps into a bar. backflips into a bar. crawls into a bar. teleports into a bar. comes to the bartender and asks for a beer. two. three. zero beers. minus one beer. 39 million beers. a mojito. an empty glass. a glass with a lizard in it. then writes down "testing complete".

a real customer walks into a bar and asks where the bathroom is. the bar explodes.

Via @taur10 plush.city/@mynameistillian/11

✨Plush✨City 🏙tillian 🦊🦇🇵🇸:antifa: ACAB (@mynameistillian@plush.city)a software tester walks into a bar. runs into a bar. jumps into a bar. backflips into a bar. crawls into a bar. teleports into a bar. comes to the bartender and asks for a beer. two. three. zero beers. minus one beer. 39 million beers. a mojito. an empty glass. a glass with a lizard in it. then writes down "testing complete". a real customer walks into a bar and asks where the bathroom is. the bar explodes.

The problem with #tests like #KobayashiMaru is that these don't work that way and the only working way to see if someone's able to control oneself and retain command to the bitter end is to actually put someone in said situation, which is unethical at best.

The only thing one can do is exercise how to handle casualties, but that too doesn't really stress-test it.

One can only see someone's ability to that once put under it outside of an exercise - again, unethical even if everyone but the one tested would be briefed and kept it a secret...

youtube.com/watch?v=cU1ah6MOor