Marco Rossignoli
4e02ab0a27
Add ReportGenerator helper ( #518 )
...
* add report generator helper
2019-08-14 17:48:05 +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
Marco Rossignoli
da509492a0
Cleanup deprecated dotnet-xunit tool ( #514 )
...
Cleanup deprecated dotnet-xunit tool
2019-08-08 14:30:43 +02:00
daveMueller
b970ab3df5
Using solution wide Directory.Build.targets ( #512 )
...
Using solution wide Directory.Build.targets to keep reference version in sync
2019-08-08 14:21:03 +02:00
Diego Pardo
4d61d296e3
Changed to calculate based on the average coverage of the modules ( #479 )
...
* [Bug fix]Changed to calculate based on the average coverage of the modules. (#346 )
2019-07-27 10:14:45 +02:00
dijitle
84d47a144c
fixing TeamCity Service Messages ( #493 )
...
TeamCity uses B, not R, for branching. Also removed the percentage, as teamcity automatically calculates from covered and total
2019-07-25 18:31:06 +01:00
Marco Rossignoli
016c3630ca
Merge pull request #481 from xuhongxu96/fix-cobertura
...
Fixed index out of range bug in CoberturaReporter when method name has two double-colons
2019-07-16 15:18:27 +02:00
Hongxu Xu
f1f0c2e29b
Add TestEnsureParseMethodStringCorrectly test case for CoberturaReporter.
2019-07-13 17:11:12 +08: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
f14ee2b7fb
[Bug fix]Fix culture for cobertura xml report ( #464 )
...
* fix cobertura report culture
* improve test
* improve test
* update test
2019-06-17 13:41:25 -06:00
Marco Rossignoli
6ee2d9bc0c
fix serialization bug
2019-06-07 21:43:20 +02:00
Andrew Arnott
dfda81a1f4
Define RepoRoot property for simpler paths
2019-05-26 21:18:42 -06:00
Andrew Arnott
f016c7b5bb
Fix dotnet build of a clean repo
...
For a perfectly clean repo (git clean -fdx), `dotnet build` fails because some tests require that other projects have been built using build.proj first.
This change adds the necessary build ordering instructions so that the build tasks are always built before the tests that need them, and the tests are always run against the *latest* source code being tested rather than the last version that happened to be built with build.proj.
2019-05-26 21:18:42 -06:00
Toni Solarin-Sodara
7cfe07e27d
Merge pull request #397 from sasivishnu/Rounding-CoveragePercentage
...
Coverage percentage output value rounded down with max 2 decimal precision
2019-05-07 17:02:15 +01:00
Vishnu Kumar
9586b91e6c
Modifying Percent property in coverage details to return rounded down percentage value with max two decimal precision.
2019-05-06 20:40:48 +05:30
Toni Solarin-Sodara
d1a30cce46
Merge pull request #370 from MarcoRossignoli/fixnetstandardresolution
...
Try to fix netstandard.dll hell
2019-05-06 15:05:43 +01:00
Vishnu Kumar
2bc7f0a260
Coverage percentage output value is rounded down with max two decimal precision.
2019-05-04 23:46:02 +05:30
Marco Rossignoli
68b882429f
add comment
2019-05-02 14:55:09 +02:00
Marco Rossignoli
98c4750eac
Revert "address PR feedback"
...
This reverts commit b8e6d75ed8 .
2019-05-02 14:21:18 +02:00
Marco Rossignoli
0ea6baa344
Revert "address PR feedback"
...
This reverts commit fbe4bf43f6 .
2019-05-02 14:21:13 +02:00
Marco Rossignoli
fbe4bf43f6
address PR feedback
2019-05-02 14:11:01 +02:00
Marco Rossignoli
b8e6d75ed8
address PR feedback
2019-05-02 14:10:50 +02:00
Marco Rossignoli
597881a271
disable tests
2019-05-01 19:48:48 +02:00
Marco Rossignoli
a3c5d39e48
merge master
2019-05-01 18:05:10 +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
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
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