You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.1 KiB
2.1 KiB
Upgrading to Code Coverage package version 1.2
To upgrade to Code Coverage package version 1.2, you need to do the following:
- Update assembly filtering aliases in batchmode
- Rename
pathStrippingPatterns
topathReplacePatterns
in batchmode
Note: If you're upgrading from a version older than 1.1, follow the upgrade guide for version 1.1 first.
Update assembly filtering aliases in batchmode
- Rename assembly filtering aliases when running in batchmode.
<user>
alias was renamed to<assets>
and<project>
was renamed to<all>
.
Rename pathStrippingPatterns
to pathReplacePatterns
in batchmode
- Rename
pathStrippingPatterns
topathReplacePatterns
in batchmode.
Example:
ChangepathStrippingPatterns:C:/MyProject/
topathReplacePatterns:C:/MyProject/,
.
This is equivalent to strippingC:/MyProject/
by replacingC:/MyProject/
with an empty string.
Upgrading to Code Coverage package version 1.1
To upgrade to Code Coverage package version 1.1, you need to do the following:
Update path filtering globbing rules
- Update the path filtering globbing rules in your batchmode commands and code coverage window. To keep the current behavior when using globbing to match any number of folders, the
*
character should be replaced with**
. A single*
character can be used to specify a single folder layer.
Examples:pathFilters:+C:/MyProject/Assets/Scripts/*
will include all files in theC:/MyProject/Assets/Scripts
folder. Files in subfolders will not be included.pathFilters:+C:/MyProject/Assets/Scripts/**
will include all files under theC:/MyProject/Assets/Scripts
folder and any of its subfolders.
For a full list of changes and updates in this version, see the Code Coverage package changelog.