com.unity.testtools.codecoverage 1.2.0-exp.5
com.unity.testtools.codecoverage
Notes: processedReleased October 26, 2021
Unity Compatibility
Minimum Unity: 2019.3 (0a8)
Package Dependencies
🔄 Changes
- Updated Report Generator to version 4.8.13
- Renamed *assemblyFilters* aliases in batchmode; `` was renamed to `` and `` was renamed to ``.
📈 Improvements
- The size of the coverage result files and the Code Coverage session duration have been optimized. When more than one coverage xml result files are generated within a Code Coverage session, these files now include only the coverage data of the visited lines. Then, at the end of the session a final coverage xml result file is generated which includes all the lines but with zero coverage.
- Added Help IconButton in the Code Coverage window
- Refactored the Code Coverage window UI to include a new *Report Options* section and removing the word 'Generate' from options
- Introduced new selection buttons under the *Included Assemblies* dropdown in the Code Coverage window; use the *All* button to select all the assemblies in the project. Use the *Assets* button to select only the assemblies under the `Assets` folder. Use the *Packages* button to select only the Packages' assemblies. If searching, the buttons will apply only to the assemblies visible in the list.
✨ Features
- Added `Test Runner References` coverage report option in the Code Coverage window which if checked generates references to tests allowing viewing coverage per test. Note that this option affects Test Runner Coverage sessions only.
- Added `generateTestReferences` in *-coverageOptions* for batchmode which allows viewing coverage per test
- Added `pathFiltersFromFile` in *-coverageOptions* for batchmode which allows specifying an external file which contains a list of path filters. When this file contains relative paths, the `sourcePaths` option can be used to specify the source directories.
