Exclude ModelsBuilder generated code from coverage
Hi,
is there a way to set custom attributes on generated code?
We've got a test project which references a project which contains generated code built by ModelsBuilder.
There are tons of classes, so coverage results will be really poor.
As there is no point in testing these files, is there a way to exclude them from coverage analysis?
Unfortunately we cannot use runconfig in our set up, but using attribute [ExcludeFromCodeCoverage] would work.
It would be nice to have a setting to be able to include custom attributes, similar to setting namespace for generated classes.
Exclude ModelsBuilder generated code from coverage
Hi,
is there a way to set custom attributes on generated code? We've got a test project which references a project which contains generated code built by ModelsBuilder.
There are tons of classes, so coverage results will be really poor. As there is no point in testing these files, is there a way to exclude them from coverage analysis?
Unfortunately we cannot use runconfig in our set up, but using attribute
[ExcludeFromCodeCoverage]
would work.It would be nice to have a setting to be able to include custom attributes, similar to setting namespace for generated classes.
is working on a reply...