altcover.global
7.6.812
See the version list below for details.
dotnet tool install --global altcover.global --version 7.6.812
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local altcover.global --version 7.6.812
#tool dotnet:?package=altcover.global&version=7.6.812
nuke :add-package altcover.global --version 7.6.812
A cross-platform pre-instrumenting code coverage tool set for .net/.net core and Mono
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
8.8.21 | 3,671 | 4/15/2024 |
8.8.10 | 1,005 | 4/6/2024 |
8.7.3 | 3,903 | 3/14/2024 |
8.6.125 | 9,960 | 1/4/2024 |
8.6.95 | 4,180 | 11/14/2023 |
8.6.68 | 20,508 | 7/10/2023 |
8.6.61 | 8,654 | 6/6/2023 |
8.6.45 | 7,121 | 3/21/2023 |
8.6.40 | 718 | 3/16/2023 |
8.6.14 | 6,073 | 1/1/2023 |
8.5.842 | 977 | 12/25/2022 |
8.5.841 | 2,857 | 11/19/2022 |
8.4.840 | 1,330 | 10/17/2022 |
8.3.839 | 929 | 9/13/2022 |
This build from https://github.com/SteveGilham/altcover/tree/fbfe245948c6b64c502da3f1134f825106a48ba1
Q. Never mind the fluff -- how do I get started?
A. Start with the Quick Start guide : https://github.com/SteveGilham/altcover/wiki/QuickStart-Guide
# 7.6.812 (Genbu series release 15)
* [VISUALIZER] Move the global tool to the new 0.10 AvaloniaUI release
* Monitor API
* [BUGFIX] Harden the monitor API `TryGetVisitTotals` against race conditions in multi-threaded tests
* Publish the AltCover.Monitor API as API (i.e. under `lib/`) in the main package `altcover` as well as in `altcover.api` (but not in `altcover.global`; global tools aren't library compatible to be accessed through a `package add` reference). It's there next to the PowerShell assembly (per `altcover ImportModule`) if you want to manually link to it, though
* Support writing unit tests involving the API back to `net20` as well as `netstandard2.0`
* Add `--jsonReport` option (and equivalents) to output the NCover or OpenCover data in a minified JSON format, like the existing `--lcovReport` option does for that format. The JSON is a direct map of the XML, with values appropriately typed.
* Add a `ConvertTo-CoverageJson` cmdlet and a `ConvertToJson` toolkit API to post-precess existing NCover/OpenCover reports
# 7.5.809 (Genbu series release 14)
* [NEW] AltCover.Monitor API to track current coverage from running unit tests. Current implementation requires `dotnet test`, or other command-line testing with `--defer` set, in which the cumulative visit numbers are available, rather than everything having been dumped to file instead.
* [BUGFIX] In OpenCover format output, only emit `<File />` records relevant to the respective module, not for all source files encountered so far.
# 7.4.808 (Genbu series release 13)
* [BUGFIX] In some use cases, the error `The "AltCover.ContingentCopy" task was not given a value for the required parameter "FileName".` could be provoked by `dotnet test` (Issue #113)
* Extend to other Build Action types (at least all those that my VS2019 Community Edition was prepared to mention) the "If `/p:AltCoverInPlace` is not `true`, then copy all files in the project included as `<[Action] Include="./[some subdirectory]/..."` with `CopyToOutputDirectory` of `Always` or `PreserveNewest` to the appropriate relative location wrt the intrumented files" behaviour added for the `None` action in the previous release. File an issue report if you have yet another build action type that you need copying for a not-in-place test scenario.
# 7.4.807 (Genbu series release 12)
* [MAYBE BREAKING] Set `InPlace` default to `false` uniformly across the API
* Add `dotnet test` command line option `/p:AltCoverInPlace=true|false` (default false)
* If `/p:AltCoverInPlace=true` then `/p:AltCoverForce=true` has its pre-v7.3.805 meaning
* Wire up "InPlace" to the Fake `DotNet.test` driver for the above
* If `/p:AltCoverInPlace` is not `true`, then copy all files in the project included as `<None Include="./[some subdirectory]/..."` with `CopyToOutputDirectory` of `Always` or `PreserveNewest` to the appropriate relative location wrt the intrumented files
* **NB** `/p:AltCoverInPlace=true` will not play well with the concurrent instrument-and-test behaviour of `dotnet test [multipletestprojects].sln /p:AltCover="true" --output [commonArtifactsFolder]`
* Allow `--callContext` and `--single` together, which will log at most one visit _per context_ per location, not just one visit per location
For previous releases (7.3.x and earlier) [go here](https://github.com/SteveGilham/altcover/blob/master/ReleaseNotes%20-%20Previously.md)