Releases: SteveGilham/altcover
Releases · SteveGilham/altcover
Fukurou series release 2
6.0.700
- [BUGFIX] in
dotnet test
the pipe character|
is used as a separator because the previous choice of;
didn't play nice with MSBuild. To escape pipe characters inside regular expressions, double them up||
. See the Usage anddotnet test
wiki pages for more detail.
Fukurou series release 1
6.0.698
- [BREAKING] Allow multiple input and output directories for instrumentation into a single report. This changes the types in API structures from
string
tostring seq
(F#) orstring[]
(C#) where appropriate. Use case : instrument multiple unit test assemblies in one go for running as a single test step to collect coverage. - Enable the
--sn
and-k
arguments in thedotnet
build. This doesn't change any APIs, but it does mean that these arguments are no longer ignored for the .net core platform. This work borrows from changes recently made in Mono.Cecil but not yet in a release build; in the fullness of time, my roll-my-own support will be replaced with the real deal. - For what it's worth, enable the
-d
argument in the .net framework/Mono build (as the APIs already exposed this, the change is behavioural -- any values supplied are used rather than silently dropped)
Ezoguma series release 8
5.3.688
- [BUGFIX] Branch-chasing could enter an infinite loop burning memory as it went by ignoring instructions that would exit that loop (e.g. return, throw, break)
- Updating consumed libraries and related changes to build process (no functional differences)
Ezoguma series release 7
5.3.679
- Add the search of the .net core nuget cache into the Framework/Mono build to address issue 20 corner case
- Minor change to usage text for
-o
option to refer to--inplace
- On Windows Terminal 0.2.x, the default foreground is ConsoleColor.Gray, and ConsoleColor.White can have the same RGB values as the default background hue ConsoleColor.Black (e.g. the supplied Solarized Light), so don't set the colour to White, but use Foreground instead.
- Use locale-independent string-to-number interconversion in the calculation of CRAP score
- Package
AltCover.exe.config
for the .net framework build, and addREADME.html
to the packages that lacked it. - Updating consumed libraries and related changes to build process (no functional differences)
Ezoguma series release 6
5.3.675
- In the
Invoke-AltCover -Runner
cmdlet, send the summary text (OpenCover and/or TeamCity style) to the object pipeline as well as to theInformation
channel. - Option
--defer[:[+|-]]
(default--defer:-
) (-Defer
for PowerShell; Defer property on MSBuild task; API field) to keep all the visit data in memory and only write the total out during process exit - Automatic defer, with in-process data collection, for
dotnet test
to work around the 100ms limitation onProcessExit
handling imposed by the VSTest system that led to the "write everything to disk" runner mode in the first place - Other throughput improvements for data collection
Ezoguma series release 5
5.2.667
- [BUGFIX] Expose the sourcelink functionality through
dotnet test
as well (/p:AltCoverSourceLink=true
) - [BUGFIX] Update help text to current
- [BUGFIX] Fix the long-standing case where two or more branches of a switch go to the same location so that all of them go through the instrumentation
/p:AltCoverShowSummary=colour
to echo summary data to stdout in the colour of choice (default: current foreground ifcolour
is not a validConsoleColor
case-insensitive name e.g."true"
), and equivalent API extensions--teamcity[:[+][R|B]]
to put an additional (+
) or replacement teamcity summary, with branches as teamcity branches withR
or blocksB
(which. last I tried, was the value to actually show up in the build report); if no optionas are attached,B
is understood. Exposed via API fieldSummaryFormat
, PowerShell-SummaryFormat
,dotnet test
argument/p:AltCoverSummaryFormat=...
Ezoguma series release 4
5.1.666
--dropReturnCode
(-DropReturnCode
in PowerShell,ExposeReturnCode
with default valuetrue
in the Fake API) to not pass the return code of any nested process--sourcelink
to give the source link URL for tracked files rather than the file path (untracked files still have the local file path)- Visualizer support for sourcelink URLs
- Generate Cobertura to the v4 DTD http://cobertura.sourceforge.net/xml/coverage-04.dtd
Ezoguma series release 3
5.0.665
- [BUGFIX] Restore visualizer support for OpenCover format (internal consistency check failure)
- [BUGFIX] Issue #52 -- fix OpenCover, LCov and Cobertura format output in the case of exclusion by path
- [BUGFIX] Issue #50 -- take Cecil 0.10.3 with the actual fix in it
- Some improvements to the throughput of coverage data, reducing time taken by the instrumented self-tests.
Ezoguma series release 2
5.0.664
- [BUGFIX] Issue #49 --
dotnet test
integration : internally, escape the '' character, which is is helpfully treated by MSBuild as a path separator and flipped to be '/' on non-Windows platforms when introduced through/p:AltCover*Filter
arguments. - [BUGFIX] Issue #48 -- fix embedded-PDB detection to avoid false positives
- Updating consumed libraries and related changes.
Ezoguma series release 1
5.0.663
Bringing gifts, as is appropriate for the season
- [BUGFIX] Issue #46 -- handle the case of a left-behind
__Saved
directories by failing in a more obvious fashion (and offering a/p:AltCoverForce=true
option to force-delete such a directory) - Support instrumenting assemblies with embedded PDBs
- [BREAKING] the
XUnit
assemblies have embedded PDBs, so will suddenly be caught up in instrumentation without a-e xunit
or equivalent to exclude them
- [BREAKING] the
- [BREAKING] Complete API overhaul to properly address known problems and to try to future-proof everything against any similar issues -- see the Wiki here for in-process execution and here for FAKE scripting