Replies: 1 comment 6 replies
-
Isn't it possible for you to realize this with a filter expression on the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some of the code we want to test needs quite some setup in the form of a created instance (mocking is not sufficient due to all the relations needed and checked. Mocking would mostly result in testing the mocks). We would like to include the coverage these tests generate. however This poses the following problem: The code used to generate the instances is also seen as coverage.
I would like to exclude this.
I have (simplified) following setup:
Projects:
CodeToTest
Tests
CodeToGenerateInstances
I would like to measure the coverage in
CodeToTest
for tests in 'Tests'. However I would like to exclude all coverage measured due to calls originating fromCodeToGenerateInstances
(which are used by the setup in some tests )Would such be possible?
Beta Was this translation helpful? Give feedback.
All reactions