Commit Graph

118 Commits

Author SHA1 Message Date
Oluwatoni Solarin-Sodara 13c069cde0 format cs files 2019-03-03 11:07:07 +01:00
Marco Rossignoli 69bed5a655 add [coverlet] prefix to logs 2019-02-28 12:22:52 +01:00
Toni Solarin-Sodara f25833315c Merge pull request #341 from derhally/master
Added logging to Coverage to help with debugging
2019-02-27 14:17:21 +01:00
Marco Rossignoli bc35d846a0 update test 2019-02-18 20:30:39 +01:00
Marco Rossignoli cd2b5fa72f fix exception filter 2019-02-18 14:13:47 +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 38a2104e89 Merge pull request #331 from MarcoRossignoli/fixopencoverreportbug
Fix opencover report numbers
2019-02-04 12:18:45 +01: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
Marco Rossignoli 30c8588f9b fix opencover report bug 2019-01-30 22:19:58 +01:00
Sam Harwell f4046bbebe Use nameof in CecilSymbolHelperTests 2019-01-27 10:20:50 -06: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 73a0fbf553 Document exclusion of HasSimpleTaskWithLambda 2019-01-24 10:42:58 -06:00
Sam Harwell 265e411943 Fix tests to account for possibility of instrumentation 2019-01-24 07:34:26 -06:00
Sam Harwell 645c904de0 Fix failure to cover test code
Filtering of test modules is a per-project policy applied during report
creation. It should not be assumed or applied as a default configuration.
2019-01-23 22:11:54 -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 2e7d7516aa Merge branch 'main-master' into memory-mapped-hit-counts
# Conflicts:
#	coverlet.sln
2019-01-15 14:49:55 +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
Oluwatoni Solarin-Sodara 9a3151b9c8 skip failing test 2018-12-20 13:57:57 +01:00
Toni Solarin-Sodara eac4cfc265 some code cleanup 2018-12-20 11:46:33 +01:00
Toni Solarin-Sodara 01c53f6ec8 add use-source-link option 2018-12-09 11:47:40 +01:00
Kjetil Klaussen 6949a02e17 #254 Fix TeamCity reporter for decimal values when running under i18n settings with comma instead of period as decimal separator.
TeamCity will error out if the output value is not using period as decimal separato, so this fix will make sure to always use period as decimal separator when reporting to TeamCity
2018-12-01 00:11:19 +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
Toni Solarin-Sodara 1a28fcd102 Merge pull request #233 from amweiss/feature/exclude-by-attribute
feat: Add ExcludeByAttribute option (#232)
2018-11-28 18:06:15 +01:00
Viktor Hofer 89f5be5081 BackupOriginalModule no return value and overwrite 2018-11-28 17:52:28 +01:00
Viktor Hofer a7a27e7abe Apply PR from viktorhofer 2018-11-26 23:48:59 +01:00
Jeremy Herbison 0bf5227444 Skip included directories that don't exist quietly, rather than throwing. 2018-11-26 23:38:14 +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
Toni Solarin-Sodara 3454f21b87 Merge pull request #248 from petli/bug-in-performance-test
Fix bug in the performance test and document how to run it in README.md.
2018-11-23 15:05:50 +01:00
Peter Liljenberg 425536962f Use Windows-style parameters to be consistent with other command examples 2018-11-23 14:29:14 +01:00
Peter Liljenberg 05e1bdbe6d Fix bug in the performance test and document how to run it in README.md. 2018-11-23 10:50:48 +01:00
jzytnyk-korewireless aacac0536a 243 - Swapping percentage with total lines for proper TeamCity statistics 2018-11-19 14:16:39 -06:00
Adam Weiss 4f16aa0f26 chore(test): Fix attribute test again 2018-11-13 17:11:33 -05:00
Adam Weiss c4ba815e70 chore(dev): Fix parameter passing to tool and update docs 2018-11-13 16:52:42 -05:00
Justin Robb fbd01adb89 Merging TeamCityServiceMessageWriter with TeamCityReporter 2018-11-13 10:43:40 -08:00
amweiss fa03cb375c chore(test): Fix custom attribute test 2018-11-08 18:25:59 -05:00
Weiss, Adam b0a6f4f3fa chore(test): Fix up custom attribute exclude test and make the Instrumenter not fail when null is sent in instead of an empty array 2018-11-05 12:27:53 -05:00
Weiss, Adam 63ba5637f9 feat: Add first pass at ExcludeAttributes option (#232) 2018-11-05 12:09:18 -05:00
Justin Robb 6956f0040f Added unit tests for TeamCityServiceMessageWriterTests 2018-10-25 19:42:15 -07:00
Paulo Janotti e808d161fc Attempt to improve coverage of CoreLibMetadataImporterProvider 2018-10-05 11:46:27 -07:00
Paulo Janotti 3092142d32 Fix perf impact and multi process against single corelib 2018-10-04 16:28:41 -07:00
Paulo Janotti c3fe0c637d Enable CoreLib Support 2018-10-04 12:11:59 -07:00
Toni Solarin-Sodara 45bc5bc843 add support for merging coverage results 2018-09-02 21:36:47 +01:00
Paulo Janotti 7dd7c76ce7 Added tests to ModuleTrackerTemplate 2018-08-22 14:46:52 -07:00
Paulo Janotti 58b89a56d7 Good perf test for 20_000 2018-08-22 14:46:52 -07:00