Skip to content

Azure.Storage.Blobs.ChangeFeed samples for .NET

Compare
Choose a tag to compare
@VSC-Service-Account VSC-Service-Account released this 25 Nov 20:54
fcf2d56
Enable code coverage (#17067)

* Use VSTest integration for Coverlet

Fixes #15231. Relates to #14427.

* Do not ignore CompilerGeneratedAttribute

See https://github.com/coverlet-coverage/coverlet/issues/794#issuecomment-612067552

* Enable code coverage for PRs

* Publish code coverage even for failed tests

* Enable code coverage reports

Resolves #14427 by limiting reports to a single service directory (CIs) or per test project (dev environments). For CIs, full coverage reports of everything build will be uploaded. For dev environments, a summary HTML file will be output to test projects' TestResults directories.

* Fix filefilters path for CI

* Use absolute path for filefilters

Same as dev support; reportgenerator documentation is not clear on when absolute or relative paths are required.

* Use absolute path for reports

* Update report directory to limit globbing

* Disable code coverage of track 2 mgmt

Opened #17090 to track re-enabling once improved.

* Generate report before uploading test results

The exact same commands are working locally using the same versions of ReportGenerator, sans running the test publishing executable. There's also extra coverage files showing up that I'm wondering if it's responsible.

* Temporarily upload all code coverage artifacts

* Split between props and targets again

At one point, this mostly worked. Going back to how I was split between props and targets before to see if that makes a difference.

* Collect more information

* Always define CoverletGetPathMap

@clairernovotny recommended important some changes. These are working locally when simulating a CI, so 🤞.

* Resolve PR feedback

Fix extra (temporary) logging as well.

* Use different variable to detect CI

ContinuousIntegrationBuild wasn't defined for test projects.

* Replace curly braces with Of in file names

Fixes #17164

* Removing extra logging

* Renames files with curly braces

Fixes #17164

* Resolve PR feedback

* Do not reformat HTML coverage report