samedi 30 janvier 2021

Adding annotation to test methods

I'm not sure 'annotations' is the current term, I'll try to explain by example:

    [MyAnnotation]
    [TestMethod]
    public void Test123()
    {
        ...
    }

I want to define 'MyAnnotation' to affect the method in some way. Is that possible? Couldn't find useful information about it. Thanks.

Aucun commentaire:

Enregistrer un commentaire