Commit Graph

173 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
daveMueller 06ef9ad51e [Collectors]Output multiple formats (#533)
Allow multiple output format for collectors
2019-09-14 10:38:42 +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 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