Commit Graph

791 Commits

Author SHA1 Message Date
Sam Harwell 01c04315a3 Update coverlet.msbuild.tasks to support .NET Framework 2019-01-16 15:29:13 -06:00
Sam Harwell c35018acdf Create coverlet.msbuild.nupkg on build 2019-01-16 15:28:52 -06:00
Toni Solarin-Sodara 7feb5503e6 Merge pull request #302 from ViktorHofer/GuardInstrumentation
Guard instrumentation exclude Interlocked
2019-01-16 22:11:01 +01:00
Toni Solarin-Sodara 0d285b187a Merge pull request #276 from petli/memory-mapped-hit-counts
Writing hit counts to a shared memory mapped area instead of to a file.
2019-01-16 22:09:53 +01:00
Toni Solarin-Sodara 15a4e62cf0 Merge pull request #300 from sharwell/quieter-coverage
Add codecov.io configuration file
2019-01-16 20:00:42 +01:00
Viktor Hofer f68473b2e0 Guard instrumentation exclude Interlocked 2019-01-16 15:51:15 +01:00
Sam Harwell ae5421926e Add codecov.io configuration file
* Simplify the information shown in pull requests
* Prevent coverage changes from marking commits as failing
2019-01-16 07:50:25 -06:00
Peter Liljenberg 9b001adec3 Merge branch 'main-master' into memory-mapped-hit-counts
# Conflicts:
#	src/coverlet.core/Instrumentation/Instrumenter.cs
#	src/coverlet.template/ModuleTrackerTemplate.cs
2019-01-16 12:29:02 +01:00
Toni Solarin-Sodara 63dff090d3 Merge pull request #298 from ViktorHofer/patch-1
Update corefx testing docs
2019-01-16 11:25:22 +01:00
Toni Solarin-Sodara a69645cc02 Merge pull request #297 from sharwell/default-init
Remove reliance on s_isTracking to detect recursion
2019-01-16 11:12:35 +01:00
Viktor Hofer 2f3f5f99aa Update corefx testing docs 2019-01-16 01:17:34 +01:00
Sam Harwell 96b1594905 Remove the need to register events when instrumenting System.Private.CoreLib 2019-01-15 17:37:36 -06:00
Sam Harwell 92b26a4c37 Remove reliance on s_isTracking to detect recursion
Fixes dotnet/coreclr#21994
2019-01-15 14:47:52 -06:00
Peter Liljenberg 138c8b0774 Merge branch 'main-master' into memory-mapped-hit-counts
# Conflicts:
#	src/coverlet.template/ModuleTrackerTemplate.cs
2019-01-15 17:02:58 +01:00
Toni Solarin-Sodara a50c10a2ab Merge pull request #292 from petli/corefx-perf-test-instructions
Instructions on how to test dev versions of coverlet against CoreFx
2019-01-15 16:27:26 +01:00
Toni Solarin-Sodara af24f7a2fa Merge pull request #294 from sharwell/normalize
Add .gitattributes
2019-01-15 16:17:15 +01:00
Toni Solarin-Sodara e1b63ee484 Merge pull request #291 from sharwell/interlocked-record
Record hits without thread local variables
2019-01-15 16:16:13 +01:00
Peter Liljenberg 2e7d7516aa Merge branch 'main-master' into memory-mapped-hit-counts
# Conflicts:
#	coverlet.sln
2019-01-15 14:49:55 +01:00
Sam Harwell 7aa535930e Renormalize all files 2019-01-15 07:43:32 -06:00
Sam Harwell 9a7dffbe80 Add initial .gitattributes 2019-01-15 07:42:55 -06:00
Sam Harwell 6ae1a89110 Record hits without thread local variables 2019-01-15 07:40:38 -06:00
Toni Solarin-Sodara d4c51c3867 Merge pull request #286 from glennawatson/glennawatson-netstandard
Make the project function with .Net Framework classes again
2019-01-15 10:40:42 +01:00
Peter Liljenberg 667b5cc3d6 Use a CollectionFixture to manage ModuleTrackerTemplate 2019-01-15 10:37:37 +01:00
Peter Liljenberg 3985864ab4 Use xUnit Collection attribute to prevent parallel tests of ModuleTrackerTemplate 2019-01-14 19:51:10 +01:00
Peter Liljenberg cf9205e3dc Instructions on how to test dev versions of coverlet against CoreFx 2019-01-14 19:37:12 +01:00
Glenn Watson cd2ec73ad7 Make the project function with .Net Framework classes again 2019-01-08 01:49:29 -08:00
Marco Rossignoli e39eca580e rollback past changes, we don't need anymore IsMoveNext() exposed 2019-01-01 17:14:51 +01:00
Marco Rossignoli 2a5a3b8373 address PR feedback 2019-01-01 16:48:49 +01:00
Peter Liljenberg 2fb0d73e93 Use file-backed mmaps on Linux 2018-12-28 18:16:07 +01:00
Marco Rossignoli 10ac5c4c87 perf improvment 2018-12-24 21:29:37 +01:00
Marco Rossignoli cb743bc2be new strategy 2018-12-24 19:14:48 +01:00
Marco Rossignoli 26ad42ad2e updates 2018-12-24 17:57:02 +01:00
Marco Rossignoli ec7f120c66 fix MergeWith report 2018-12-22 19:24:35 +01:00
Peter Liljenberg 4bc572c557 Writing hit counts to a shared memory mapped area instead of to a file.
This might speed up UnloadModule enough that it will reliably execute within the
short time that ProcessUnload allows it, even on CI servers with load.

This is heavily based on work done by @Cyberboss, that unfortunately
showed that  memory mapped files were to slow to use directly in RecordHit.
2018-12-21 17:42:14 +01:00
Oluwatoni Solarin-Sodara 54108b6f1e bump version numbers 2018-12-20 14:01:32 +01:00
Oluwatoni Solarin-Sodara 9a3151b9c8 skip failing test 2018-12-20 13:57:57 +01:00
Oluwatoni Solarin-Sodara 304a41a1c3 update docs 2018-12-20 13:45:38 +01:00
Toni Solarin-Sodara 28fb5af194 Merge pull request #271 from tonerdo/threshold-stats
Threshold stats
2018-12-20 12:58:39 +01:00
Toni Solarin-Sodara eac4cfc265 some code cleanup 2018-12-20 11:46:33 +01:00
Toni Solarin-Sodara bdb61087d5 update msbuild task and global tool to use new threshold stat options 2018-12-20 11:44:43 +01:00
Toni Solarin-Sodara 4e029c3ed4 add method to calculate threshold complaince 2018-12-20 11:42:45 +01:00
Toni Solarin-Sodara d61927d352 add enums for specifying threshold types and threshold statistic 2018-12-20 11:36:44 +01:00
Toni Solarin-Sodara 9dac10c74e add threshold stat option to global tool and msbuild target and task 2018-12-17 13:45:43 +01:00
Toni Solarin-Sodara 33da1a9a78 Merge pull request #267 from tonerdo/fix-no-cover
show 100% when the total line, branch or methods covered is 0
2018-12-17 00:07:43 +01:00
Toni Solarin-Sodara 9eae272c4b show 100% when the total line, branch or methods covered is 0 2018-12-16 23:53:52 +01:00
Toni Solarin-Sodara 820a450391 Merge pull request #236 from SlowLogicBoy/master
ExcludeByFile add traversal support when full path specified.
2018-12-16 23:29:28 +01:00
Justin Robb fd7bceacf2 Added NuGet badge to README 2018-12-12 11:29:57 -08:00
Toni Solarin-Sodara b8195882ca Merge pull request #260 from tonerdo/sourcelink
Add support for Sourcelink
2018-12-10 00:23:45 +01:00
Toni Solarin-Sodara 1b2d8ba37b remove netstandard specific additions 2018-12-09 23:19:23 +01:00
Toni Solarin-Sodara de558c5f62 use absolute path/url in class filename attribute 2018-12-09 22:11:53 +01:00