You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use a build macro for some of our classes, that inject some runtime checking expressions into a class method.
We test all expressions that can be generated by that macro in a separate test and would like these expressions to be ignored by MCover in all other classes.
It would be nice if MCover could ignore coverage at expression level by checking expression metadata. Then our build macro can add that meta for its expressions to make sure they are ignored.
The text was updated successfully, but these errors were encountered:
Actually, I've found that massivecover already ignores EMeta expressions, so it can be a bug, because not all expressions with metadata should be ignored.
I've added support for EMeta (and ignoring individual expressions) in the feature/v3 branch.
I haven't added it to master (2.x) because 3.0 includes a lot of refactoring of the internal macros including the class that traverses the expression tree.
We use a build macro for some of our classes, that inject some runtime checking expressions into a class method.
We test all expressions that can be generated by that macro in a separate test and would like these expressions to be ignored by MCover in all other classes.
It would be nice if MCover could ignore coverage at expression level by checking expression metadata. Then our build macro can add that meta for its expressions to make sure they are ignored.
The text was updated successfully, but these errors were encountered: