<p>If you want to create a custom attribute for MS test (say [Repeat(3)]
how would you do that?</p>

looking more, here is one possible place to start:
Peli's blog
I'm still looking for other good resources or examples.