Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps altcover from 6.1.708 to 7.1.778.

Release notes

Sourced from altcover's releases.

Genbu series release 5

7.1.778

  • [BUGFIX] Address problems revealed in issue #87
    • The collection process now fails gracefully if the XML report is missing or broken
    • dotnet test will halt after instrumentation fails, should it do so, rather than continuing to test and process the missing or broken XML report
    • Work round F# issue 9255 by replacing Newtonsoft as the JSON processor with one that can static link

Genbu series release 4

7.1.777

  • [BUGFIX] Fix the GTK2/Framework Visualizer (broken since v6.8.761)
  • Multi-monitor support for the Visualizer in all versions; the window will restore to its previous location even when placed on non-primary monitors
  • Use integrated MSBuild error reporting in the data collector used by the dotnet test integration.

Genbu series release 3

7.1.776

  • [BUGFIX] Set the visited attribute and CRAP score accordingly for methods with no sequence points, if the method is recorded as having been visted at all.
  • [BUGFIX] Exclude CRAP score for methods with no sequence points from the min/max summary values for the containing type and above (just as such methods aren't counted for the other roll-up quantities)
  • Emit CRAP score values in the OpenCover style summary
  • Distinguish between methods with source and no source in the threshold computations, the option to select the alternative measures (AM, AC) that include the no-source methods. Extend the TypeSafe.Thresholds record type with the coresponding extra fields.
  • On a threshold violation, always report that via return code by preference to any non-zero process value.

Genbu series release 2

7.0.773

  • [BUGFIX] Compute CRAP score for unvisited methods too (and add it to the higher level summary items)
  • Add TypeSafe.Filters.Join to compute the concatenation of a TypeSafe.FilterItems seq to an existing TypeSafe.Filters instance. Strict SemVer would bump the minor version at this point, but given the short time since the initial 7.0 release, I doubt the dust has settled fully yet.

Genbu series release 1 global tools

See v7.0.770

Genbu series release 1

7.0.770

  • There are functional changes (fixes and enhancements from the previous pre-release)
  • [BUGFIX] Don't automatically exclude C# inner functions (and other [CompilerGenerated]) from coverage.
  • [BREAKING; Command Line] Option --defer now takes no arguments; there is no use-case for the --defer:- so that and the redundant --defer:+ are gone
  • [BREAKING; MSBuild tasks] AltCover.Prepare.Defer defaults to true; in dotnet test, as the value is overridden (effectively forced true), this has no effect.
  • [BREAKING; PowerShell] rename and generalise Format-FromCoverletOpenCover as Write-OpenCoverDerivedState
  • [BREAKING; API] Rationalise and rename across most parts of the API, above and beyond the pre-release; remove CSApi as a separate assembly, with the main AltCover assembly publishing that part of the C# callable API, and split FSApi into Toolkit for PowerShell support and DotNet for dotnet test support.
  • Add --attributetoplevel, --typetoplevel and --methodtoplevel to allow inner classes or functions to be included in coverage independently their containing class or function.
  • Revise/update/fix the Wiki API pages, help-text and the like
  • Autogenerate more of the documentation

Genbu series release pre-1

7.0.766-pre

  • There should not be any functional changes before a full 7.0 release; the pre-release is just to ensure I'm happy with the API before freezing it for 7.x
  • [BREAKING] Replace the --opencover command line argument and its equivalents with --reportFormat=... defaulting to OpenCover and currently also accepting NCover
  • [BREAKING; dotnet tool] Remove the deprecated altcover.dotnet package with the old-style DotNetCliToolReference Tool
  • [BREAKING; API] Rename the AltCover_Fake namespace to AltCoverFake, because it's simpler that way
  • [BREAKING; API] Remove obsolete APIs previously marked as obsolete
  • [BREAKING; API] Rationalise and rename across most parts of the API
Changelog

Sourced from altcover's changelog.

Previously

6.8.761 (Fukurou series release 13)

  • Final 6.x release, barring serious bug-fixes
  • Deprecate the dotnet-altcover DotNetCliToolReference Tool, package altcover.dotnet, prior to removal in the v7.0.xxx release. See dotnet/sdk#3115 for context
  • Move delivered code to all new-style projects, and all supporting projects except where the old style is explicitly required
  • [BUGFIX] Accept the OpenCover format variant generated by coverlet for PowerShell and, FWIW, the Visualizer.
  • [BUGFIX] Provide a suitable binary (a simple shim called AltCover.NetCoreApp.dll) in the API nupkg for AltCover.Fake.Api.toolPath AltCover.Fake.Implementation.DotNetCore to return -- and test that it works, just like the build already tested AltCover.Fake.Api.toolPath AltCover.Fake.Implementation.Framework
  • Ignore constructors for [<Sealed; AbstractClass>] types in F# for the purposes of coverage
  • [API] AltCover.CoverageFormats.PostProcess to take an existing OpenCover format document and fill in the derived quantities e.g. <Summary> elements, sequence point branch visits, etc.
  • [API] AltCover.CoverageFormats.FormatFromCoverlet to patch up the most obvious parts missing from coverlet's dialect of the OpenCover format e.g. start and end columns, npath complexity, etc. as well as all the PostProcess features. Also reified as the cmdlet Format-FromCoverletOpenCover

6.7.750 (Fukurou series release 12)

  • [PowerShell] Improve the ConvertTo-BarChart cmdlet following the Visualizer-focussed enhancements in the previous release
  • [PowerShell] Add -WhatIf capability to Invoke-AltCover for prepare and collect operations (syntax permitted, but meaningless for -Version)
  • [PowerShell] Make the Invoke-AltCover -ShowStatic parameter take a typesafe enum (as well as untyped strings); a backwards compatible API extension.
  • [Visualizer] new --schemadir[=path] command-line parameter to set or clear an application-level GSETTINGS_SCHEMA_DIR value
  • [API] PrepareParams.WhatIf : unit -> FSApi.ValidatedCommandLine; and CollectParams.WhatIf : bool -> FSApi.ValidatedCommandLine to do read-only parameter validation and command line composition
  • [API] The equivalent public FSApi.ValidatedCommandLine PrepareArgs.WhatIf() and public FSApi.ValidatedCommandLine CollectArgs.WhatIf(bool afterPreparation) for the CSApi types

6.6.747 (Fukurou series release 11)

  • [API, Fake Helper API] Deprecate the DotNet.TestOptions.WithImportModule and .WithGetVersion extension methods in favour of the otherwise identical DotNet.TestOptions.WithAltCoverImportModule and .WithAltCoverGetVersion; the obsolete name now just calls through to the preferred one.
  • [API] --showstatic[:[-|+|++]] (string ShowStatic default "-" in API, -ShowStatic string PowerShell) to reveal the code usually auto-filtered (e.g. auto-properties, some system generated types, structure comparison methods in F#...); either with coverage value -3 (option '+') which is highlighted in the Visualizer but treated as 0 by ReportGenerator, or the value '0' (option '++')
  • [API] --showGenerated (bool ShowGenerated default false in API, -ShowGenerated PowerShell) to reveal the code marked by [CompilerGenerated] or [GeneratedCode] with coverage value -2which is highlighted in the Visualizer but treated as 0 by ReportGenerator
  • [Visualizer, BUGFIX] fix the sorting of method by name for NCover format
  • [Visualizer] group property get_ and set_, and event add_ and remove_, methods together, under an appropriate icon
  • [Visualizer] For F# modules containing only types, group the contents together under a module entry at class level, just as they would have been were the module to directly contain any functions
  • [Visualizer] Types that only contain an Invoke method and constructors are shown with an approriate icon, too.
  • [3rd Party] With the latest GTK#3 update, the GTK+ native libraries for win-x64 are no longer bundled into the nuget -- this seems to have been a transient behaviour in GtkSharp v3.22.25.49 only

6.5.739 (Fukurou series release 10)

  • [Command-line and CLI tool] Rolling forwards with runtimeconfig.template.json -- it's not just for global tools : make all the executables .net core 3+ compatible.
    • this now packages the GTK# assemblies, and GTK+ native libraries for win-x64, for the .net core visualizer
    • also enable the build to execute on hosts with nothing before .net core 3 runtime
  • [API, Fake Helper API] Deprecate the DotNet.TestOptions.WithParameters extension method in favour of the otherwise identical DotNet.TestOptions.WithAltCoverParameters; the obsolete name now just calls through to the preferred one.
  • [Visualizer tool] Update GTK# for .net Core
  • [BUGFIX] In ConvertFrom-NCover, don't add classes for which there is no method coverage data. This mainly affects system generated classes implementation details, including ones actually called <PrivateImplementationDetails$...>...
  • In cobertura format output, including the ConvertTo-Cobertura cmdlet, truncate rates to 2 decimal places (equivalent to integral percentages used elsewhere)

6.4.734 (Fukurou series release 9)

  • [FAKE Helper API] Fake >= 5.18.1 is required for this release (the work-round for FAKE issue #2412 has been removed)
  • [FAKE Helper API] Add this constraint as an explicit dependency
  • [API] Add Tool of String a literal alongside FilePath of String, which is expanded to a full path to TypeSafe.FilePath
  • [API] Add IncludeItem of Regex which represents a ?-prefix regex string to TypeSafe.FilterItem
  • Trap and log exceptions reported in Issue #71 as files <coverage report path>.<timestamp>.exn
  • Other housekeeping

6.3.729 (Fukurou series release 8)

  • Filter out assemblies without the ILOnly bit set (i.e. pretty much anything C++/CLI, even with the deprecated /clr:pure compiler flag set)
  • [FAKE Helper API] Fake >= 5.18.0 is required for this release
Commits
  • 5b2ff70 Merge branch 'master' into release/Genbu
  • afa7a77 [Skip CI] Update release notes for a new release
  • ca509d6 [Skip CI] Update release notes
  • d8aec41 And this is why you re-run unit tests after refactoring to shut the static an...
  • 3f6fcdf Need to get this transformation out of manatee
  • 8ec8ae0 And replace the rest
  • 53b7f8e Manatee.Json proof of concept
  • 847703a Update FsUnit
  • e0a808c Refactor to simplify and to better handle instrumentation failures
  • b90ba5a Allow graceful exit when instrumentation failure leaves a broken or missing X...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 2, 2020
@codecov
Copy link

codecov bot commented Jul 2, 2020

Codecov Report

Merging #44 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #44   +/-   ##
=======================================
  Coverage   36.18%   36.18%           
=======================================
  Files          19       19           
  Lines         152      152           
  Branches        9        9           
=======================================
  Hits           55       55           
  Misses         93       93           
  Partials        4        4           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3135650...4fbc746. Read the comment docs.

@dependabot-preview
Copy link
Contributor Author

Superseded by #48.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/altcover-7.1.778 branch July 20, 2020 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant