Commit Graph

29 Commits

Author SHA1 Message Date
Marco Rossignoli 4e02ab0a27 Add ReportGenerator helper (#518)
* add report generator helper
2019-08-14 17:48:05 +02:00
Marco Rossignoli cca16685ed Improve instrumentation tests (#420)
Improve instrumentation tests
2019-08-09 20:00:50 +02:00
Oluwatoni Solarin-Sodara f100e37d41 add tests for including test assembly 2019-04-01 12:11:36 +01:00
Oluwatoni Solarin-Sodara a4a1bc07a2 add extra option to include test assembly in coverage 2019-04-01 12:08:12 +01:00
Marco Rossignoli 69bed5a655 add [coverlet] prefix to logs 2019-02-28 12:22:52 +01:00
Zeid Derhally 9085e4a5db Fix based on code review
Removed NullLogger
2019-02-15 13:53:49 -05:00
Zeid Derhally 6dba98fe26 Added logging to Coverage to help with debugging
Exceptions were being swallowed and there was no indication why coverage didn't occur
2019-02-14 18:12:00 -05:00
Sam Harwell 51ea793000 Add a "single hit" collection mode
Fixes #306
2019-02-04 06:21:11 -06:00
Toni Solarin-Sodara b7f0be6c37 Merge pull request #318 from sharwell/cover-tests
Fix failure to cover test code
2019-02-04 11:42:46 +01:00
Viktor Hofer c71b7d8e6d Revert "Merge pull request #276 from petli/memory-mapped-hit-counts"
This reverts commit 0d285b187a, reversing
changes made to 15a4e62cf0.
2019-01-24 22:44:51 +01:00
Sam Harwell 265e411943 Fix tests to account for possibility of instrumentation 2019-01-24 07:34:26 -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
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 2fb0d73e93 Use file-backed mmaps on Linux 2018-12-28 18:16:07 +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
Toni Solarin-Sodara 01c53f6ec8 add use-source-link option 2018-12-09 11:47:40 +01:00
Oluwatoni Solarin-Sodara 5d19cbda61 update ordering of Coverage constructor arguments 2018-11-28 19:59:32 +01:00
Toni Solarin-Sodara d4450accad Merge branch 'master' into ProbePath 2018-11-28 18:13:10 +01:00
Jeremy Herbison 3b832a0e15 Added an "IncludeDirectories" param so that assemblies that are not project references can also be instrumented. 2018-11-26 23:37:24 +01:00
Weiss, Adam 63ba5637f9 feat: Add first pass at ExcludeAttributes option (#232) 2018-11-05 12:09:18 -05:00
Toni Solarin-Sodara 45bc5bc843 add support for merging coverage results 2018-09-02 21:36:47 +01:00
Paulo Janotti 045ee5f49b Add include option 2018-07-27 16:23:08 -07:00
Oluwatoni Solarin-Sodara c82cebe0f9 generate unique identifier within Coverage class 2018-07-05 22:27:52 +01:00
Oluwatoni Solarin-Sodara 1dd3b70b11 add preliminary support for excluding assemblies from coverage 2018-05-13 17:17:19 +01:00
Jason Hunter 89791e6425 add better branch support, change coverage calculation to be on actual points instead of averages 2018-05-01 21:25:06 -04:00
Oluwatoni Solarin-Sodara dabc081506 instrument temp module instead in TestCoverage test function 2018-03-24 13:42:36 +01:00
Toni Solarin-Sodara 55afa9bdc6 fix Windows build 2018-03-08 12:26:27 -08:00
Oluwatoni Solarin-Sodara 7105a1083f add tests for Coverage class 2018-03-08 19:59:46 +01:00