Commit Graph

159 Commits

Author SHA1 Message Date
Marco Rossignoli 15eeb98f5d Revert "Add [xunit*]* to default excluded modules filter if not specified" (#519) 2019-08-28 22:05:20 +03: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
Toni Solarin-Sodara 7bd804d732 Merge pull request #458 from MarcoRossignoli/fixjsonserializerbug
[Bug fix]Fix instrumentation serialization bug
2019-06-17 13:40:29 -06:00
Marco Rossignoli a01a5cb9b4 udpate test 2019-06-10 17:24:18 +02:00
Marco Rossignoli 773a23cf7e exclude xunit if empty exclude filters 2019-06-10 17:21:29 +02:00
Marco Rossignoli 6ee2d9bc0c fix serialization bug 2019-06-07 21:43:20 +02:00
Toni Solarin-Sodara ade55f27ca Merge pull request #447 from AArnott/dotnetFTW
Remove build.proj in favor of regular dotnet commands
2019-05-29 23:27:12 +01:00
Andrew Arnott 8954971e51 Ignore coverage result files in test folder 2019-05-29 09:45:52 -06:00
Marco Rossignoli d9a224a9fa add coverage to collectors tests 2019-05-29 11:49:45 +02:00
Marco Rossignoli cdfbd15cdd fix build 2019-05-28 17:52:38 +02:00
Toni Solarin-Sodara 3570fc95d0 Merge pull request #434 from AArnott/incrementalbuild
Fix `dotnet build` of a clean repo
2019-05-28 16:08:04 +01: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
Andrew Arnott 47bfd91071 Add missing IsTestProject and IsPackable properties
This lets us "pack" the solution instead of listing out each project individually, since projects know themselves whether they should be packable.
2019-05-26 18:22:11 -06:00
Vagisha Nidhi 87a6f3a1fb Fixed failing UT 2019-05-16 15:09:46 +05:30
Vagisha Nidhi c2d30e0848 Review comments addressed 2019-05-16 15:02:32 +05:30
Vagisha Nidhi 59c5af61e8 Coverlet DataCollectors Implementation 2019-05-15 14:06:21 +05:30
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