In an older but still relevant blogpost Matt Stauffer explains how you can extend PHPUnit's native
@requires annotation. It's pretty handy if you want to only run certain tests in certain environments.
I was primarily interested in learning—how do PHPUnit annotations work? What does it look like to extend a pre-existing annotation? How do you not just check for the annotation, but also check its value? I'll show you what I found and then you can run willy-nilly with your own naming schemes.