Share via

Test coverage doesnt evaluate projections even though there are tests

juan maximiliano aguilar abanto 541 Reputation points
2022-07-17T01:47:32.837+00:00

Hi

I have the code:
Variables = automation.Variables == null ? new List<AutomationVariableDto> { } :
automation.Variables.Select(x => new AutomationVariableDto(x)),

I have test related with these lines, but code coverage shows the message: statements not covered

Developer technologies | Visual Studio | Testing

1 answer

Sort by: Most helpful
  1. juan maximiliano aguilar abanto 541 Reputation points
    2022-07-23T22:40:18.9+00:00

    Hello. I have Visual Studio 2022 professional edition

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.