RSSAmplifier

openmymind.net · Feb 7, 2025

Using Generics to Inject Stubs when Testing

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I have an unapologetic and, I'd like to think, pragmatic take on testing. I want tests to run fast, not be flaky and not be brittle. By "flaky", I mean tests that randomly fail. By "brittle", I mean tests that break due to seemingly unrelated changes in the code. I'm happy that the definition of "unit tests" has broadened over the years: it's now acceptable to have "unit tests" do more, i.e.…

Read on openmymind.net

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.