Commit Graph

35 Commits

Author SHA1 Message Date
Marco Rossignoli 026c74a5bd Add some test for exclude filters with namespaces (#579)
Add some test for exclude filters with namespaces
2019-10-05 09:07:47 +02:00
Marco Rossignoli 19b9611304 Skip instrumentation for external pdb with no local sources (#538)
Skip instrumentation for external pdb with no local sources
2019-09-13 14:50:55 +02:00
Marco Rossignoli 1bb08bb518 Inject InstrumentationHelper (#531)
Inject InstrumentationHelper
2019-09-10 12:56:04 +02:00
Marco Rossignoli afe227b39e Fix exclude by files (#524)
Fix exclude by files
2019-09-06 12:23:45 +02:00
Marco Rossignoli 0faaeea54e Skip instrumentation of module with embedded ppbd without local sources (#510)
* handle ppbd without local sources

* add test

* nit formatting

* check all docs existence

* update tests
2019-08-14 14:35:16 +01: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
Oluwatoni Solarin-Sodara 13c069cde0 format cs files 2019-03-03 11:07:07 +01: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 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
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
Paulo Janotti 69f67db366 Terrible performance for heavily concurrent 2018-08-22 14:46:51 -07:00
Paulo Janotti 045ee5f49b Add include option 2018-07-27 16:23:08 -07:00
Oluwatoni Solarin-Sodara 017b3d9a40 remove exe coverable test 2018-06-30 15:52:10 +01:00
Toni Solarin-Sodara 5217033c74 Merge pull request #128 from MarcoRossignoli/exeext
Add exe modules to coverage
2018-06-27 09:43:50 +01:00
Toni Solarin-Sodara 807f7b1bd5 move CoverageTracker class to separate assembly 2018-06-24 13:09:14 +01:00
Marco Rossignoli c5a3f7726b add exe extensions 2018-06-22 10:42:52 +02:00
Coen Munckhof 5835a6e8d6 First add a number of test (including some failing) to describe expected behavior. 2018-05-15 21:49:55 +02:00
Oluwatoni Solarin-Sodara 0b42b0350f improve performance of filter expression validation 2018-05-15 10:53:15 +01:00
Oluwatoni Solarin-Sodara 9ed086489e change Filter property to Exclude 2018-05-13 18:50:31 +01:00
Oluwatoni Solarin-Sodara 1dd3b70b11 add preliminary support for excluding assemblies from coverage 2018-05-13 17:17:19 +01:00
Jason Hunter 686394d7ec save on disk space by compressing the hits file 2018-05-01 21:33:17 -04:00
Ido David 23dca2a3e3 Add tests; modify readme 2018-04-29 15:13:15 -04:00
Toni Solarin-Sodara 75bc655a86 retry reading from hits file 2018-04-15 09:16:43 +01:00
Toni Solarin-Sodara 1194f2863f test delete hits file helper method 2018-04-14 17:02:10 +01:00
Paul Saunders 590cbc3bba Adds retry functionality to copy back the original assembly. 2018-04-09 12:14:52 +01:00
Oluwatoni Solarin-Sodara 96b0a357e9 add more InstrumentationHelper tests 2018-03-08 18:47:26 +01:00
Oluwatoni Solarin-Sodara 754055c569 remove TestGetCoverableModules test method 2018-03-04 09:10:03 +01:00
Toni Solarin-Sodara 0e47e6a6be don't copy coverlet dependency if instrumented module is coverage core 2018-02-11 00:13:29 +01:00
Toni Solarin-Sodara 73b375fcdf add tests for InstrumentationHelper class 2018-02-10 23:43:07 +01:00