playtest-unity/playtest/Library/PackageCache/com.unity.testtools.codecov.../Documentation~/whats-new.md

3.2 KiB

What's new in version 1.2

Summary of changes in Code Coverage package version 1.2

The main updates in this release include:

Added

  • Added Pause Recording and Resume Recording buttons in the toolbar in the Code Coverage window.
  • Added Test Runner References coverage report option in the Code Coverage window. When you check this option, the generated coverage results include references to the triggering tests enabling the Coverage by test methods section in the HTML report. This section allows you to see how each test contributes to the overall coverage. In batchmode, you can generate test references by adding the generateTestReferences option in -coverageOptions.
  • Added Log Verbosity Level setting in the Code Coverage window which allows setting the verbosity level for the editor and console logs.
  • Added Additional Reports option in the Code Coverage window which if checked SonarQube, Cobertura and LCOV reports will be generated. Added generateAdditionalReports in -coverageOptions for batchmode.
  • Added filtersFromFile in -coverageOptions for batchmode. This allows you to specify an external Json file which contains path and assembly filtering rules.
  • Added dontClear in -coverageOptions for batchmode which allows coverage results to be accumulated after every code coverage session. If not passed the results are cleared before a new session.

Updated

  • Updated the UI of the Code Coverage window moving the action buttons into a toolbar at the top. Toolbar
  • Introduced new selection buttons under the Included Assemblies dropdown in the Code Coverage window.
  • Renamed assemblyFilters aliases in batchmode; <user> was renamed to <assets> and <project> was renamed to <all>.
  • Replaced pathStrippingPatterns with pathReplacePatterns in batchmode. The pathReplacePatterns option allows stripping and replacing specific sections from the paths that are stored in the coverage results xml files.
  • The size of the coverage result files and the Code Coverage session duration have been optimized.
  • Improved the editor and console logs.

Fixed

  • Ensure assemblies are removed from the Included Assemblies field if they no longer exist (case 1318668).
  • Ensure hidden sequence points are ignored (case 1372305).

For a full list of changes and updates in this version, see the Code Coverage package changelog.