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
pathStrippingPatternstopathReplacePatternsin 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
pathStrippingPatternstopathReplacePatternsin 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/Scriptsfolder. Files in subfolders will not be included.pathFilters:+C:/MyProject/Assets/Scripts/**will include all files under theC:/MyProject/Assets/Scriptsfolder and any of its subfolders.
For a full list of changes and updates in this version, see the Code Coverage package changelog.