Search Issue Tracker

Active

Under Consideration for 2021.3.X

Votes

0

Found in

2021.3.29f1

2023.2.0f1

2023.3.0a17

6000.0.0b11

Issue ID

UUM-58424

Regression

No

[Code Coverage] ExcludeFromCodeCoverage put on properties does not exclude field initialisation part from code coverage results

--

-

Steps to reproduce:
# Open attached project *cov-statics 2.zip*
# Install code coverage package if needed
# Open test runner and run editor test
# Open generate coverage report
# Notice that Line *= new  Vector3(1, 2, 3);* shows up as covered even though property has ExcludeFromCodeCoverage attribute

Reproduced with: 1.2.2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.