Marco Rossignoli
82d76e1b36
Rethink SkipEmbeddedPpdbWithoutLocalSource and SkipPpdbWithoutLocalSource tests, are flaky on CI ( #565 )
...
Rethink SkipEmbeddedPpdbWithoutLocalSource and SkipPpdbWithoutLocalSource tests, are flaky on CI
2019-09-23 12:29:36 +02:00
Marco Rossignoli
e251d23a39
Fix and simplify async coverage ( #549 )
...
Fix and simplify async coverage
2019-09-23 11:00:31 +02:00
Marco Rossignoli
8c7a8c527c
Add log to tracker ( #553 )
...
Add log to tracker
2019-09-23 10:54:46 +02:00
daveMueller
182766ebeb
Complete IFileSystem injection ( #550 )
...
Complete IFileSystem injection
2019-09-21 10:17:17 +02:00
Marco Rossignoli
903f61b6de
Move log to verbose for automatic excluded instrumented libs ( #548 )
...
Move log to verbose for automatic excluded instrumented libs
2019-09-16 10:21:14 +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
daveMueller
75520ddc5f
Improve instrumentation tests ( #527 )
...
Improve instrumentation tests
2019-09-04 16:19:06 +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
Adam Weiss
ec04c7d82f
Fix property attribute detection ( #477 )
...
* Fix property customattribute detection
* chore(style): Remove brackets from one line if
* chore(style): Use explicit type
2019-07-03 20:49:49 +01:00
Marco Rossignoli
6ee2d9bc0c
fix serialization bug
2019-06-07 21:43:20 +02:00
Marco Rossignoli
52416c735d
fix netstandard.dll resolution
2019-03-14 14:57:58 +01:00
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
Sam Harwell
51ea793000
Add a "single hit" collection mode
...
Fixes #306
2019-02-04 06:21:11 -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
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
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
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
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
Paulo Janotti
7dd7c76ce7
Added tests to ModuleTrackerTemplate
2018-08-22 14:46:52 -07:00
Paulo Janotti
045ee5f49b
Add include option
2018-07-27 16:23:08 -07:00
Peter Liljenberg
1f4da61d7a
Reduce coverage analysis run time to almost nothing.
...
This is done by aggregating hits in the CoverateTracker directly, rather than just recording events in files, and by avoiding the former quadratic complexity when translating these event files into hits on lines and branches.
2018-06-26 16:47:21 +02:00
Zeid Derhally
2a2f75afba
Add support of ExcludeFromCodeCoverage attribute
2018-06-04 08:43:03 -04: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
Ido David
139c2387d9
addressing first comments
2018-04-28 21:32:52 -04:00
Ido David
60c49071b2
Implementation exclusion of files according to source file paths (including file globbing)
2018-04-28 21:30:21 -04:00
Toni Solarin-Sodara
55afa9bdc6
fix Windows build
2018-03-08 12:26:27 -08:00
Oluwatoni Solarin-Sodara
071cb3937d
add tests for Instrumenter class
2018-03-08 19:09:42 +01:00
Oluwatoni Solarin-Sodara
d171331657
add tests for InstrumenterResult
2018-03-07 17:34:32 +01:00