Commit Graph

153 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 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
Toni Solarin-Sodara f24b9d567c Run dotnet format (#561) 2019-09-22 00:50:02 +01: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 41511a4392 Hide report generator strong name warning on build (#546)
Hide report generator strong name warning on build
2019-09-16 10:05:43 +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 a167c391d7 Add switch test (#526)
Add switch test
2019-09-04 11:37:42 +02:00
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