bolha.us is one of the many independent Mastodon servers you can use to participate in the fediverse.
We're a Brazilian IT Community. We love IT/DevOps/Cloud, but we also love to talk about life, the universe, and more. | Nós somos uma comunidade de TI Brasileira, gostamos de Dev/DevOps/Cloud e mais!

Server stats:

251
active users

#tdd

1 post1 participant0 posts today
Coming soon to Maven Central, com.schmonz:junit-greencently:20250402171221.0.0-g7a4aa00-14225507806-1:

- Also set status when not complete or green (tx Ron)
- Setup-free .gitignore (tx Llewellyn)
- Refactorings (tx Llewellyn, Petar)
- TrunkVer (tx Raimo & Chris)

#JUnit5 #TDD

Hey Mastodon, question for my #sysadmin and #DevOps types. Has anyone used #Pester and #PSScriptAnalyzer to set up unit testing for test driven development, particularly on (relatively) simple #PowerShell scripts like you might use for application detection, installation, and uninstallation from a system like #SCCM #Intune or #ManageEngine ?

Apologies for the buzzword bingo, but I’m trying to reach folks who may be following the hashtags, but not necessarily have a connection otherwise.

It seems like unit testing in Rust is difficult. I am looking into mockall and other mocking libraries, and I'm kind of turned off by all the macros I have to add to my code (and sometimes it even impacts the production code!) instead of being able to keep all test-related stuff in test modules. Also I don't want to use traits for everything—I'd rather not `dyn Trait` everywhere if I don't have to.

How do you effectively unit test in Rust when you have object dependencies?

BLOGPOST: A pleasant diversion with #TDD

I was recently nerd-sniped (in a good way) by a blogpost from @RonJeffries so I tried my hand at the problem myself and wrote up as I went.

As a bonus, almost all of the blogpost (minus some minor typo corrections and code samples) is generated directly from the commit history!

blog.probablyfine.co.uk/2025/0

Probably FineA pleasant diversion with TDD

I like when someone goes back to the source and sets the record straight. I'm also fed up with people bashing mocks without actually giving any arguments against them.

The class is not the unit in the London school style of #TDD:

codesai.com/posts/2025/03/mock

CodesaiThe class is not the unit in the London school style of TDDSomos un equipo versado en Extreme Programming, ofrecemos desarrollo de software, formación, asesoramiento y apoyo en proyectos.