Commit Graph

426 Commits

Author SHA1 Message Date
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
Toni Solarin-Sodara 13c2e2b0c0 Merge pull request #437 from MarcoRossignoli/fixsourcelinkbug
[Bug fix]Fix "/p:UseSourceLink=true" bug
2019-05-28 16:03:17 +01:00
Marco Rossignoli 28765d901e fix UseSourceLink bug 2019-05-27 17:11:32 +02:00
Andrew Arnott 8936397757 Resolve merge conflicts with master 2019-05-27 08:03:13 -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 4649985ac0 Replace checked in .nuspec file with generated one
All the redundancy between the .nuspec file and the .csproj file (both express and implied) is now removed. With it, I fix a few bugs:

1. The generated nuspec file includes the developmentDependency tag that was in the project file but not the checked in file.
1. The package now applies to *all* projects regardless of their target framework (well, so long as they're .netstandard1.0 compatible) instead of all projects rejecting this package unless they targeted .NET Core 2.0 or higher.

I also moved the .targets file into a folder structure within the project that resembles where it will appear in the package. This makes it more obvious that it belongs to the package when looking at the source code, and makes it easier to maintain the build/ folder in the package going forward because all files in it are included.

Fixes #431
2019-05-26 19:07:33 -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
Marco Rossignoli cd9f504328 setup nightly build 2019-05-26 17:29:44 +02:00
Toni Solarin-Sodara 87f4dda3de fix code formatting 2019-05-20 16:36:54 +01:00
Toni Solarin-Sodara b3e349e1e4 Merge pull request #410 from vagisha-nidhi/coverletDatacollectors
Coverlet Intergration with VSTest
2019-05-20 13:23:54 +01:00
Vagisha Nidhi 56855bc865 Unload module raise exception 2019-05-20 15:52:50 +05:30
Vagisha Nidhi 28aa07fcc4 Adding diagnostic logs 2019-05-20 14:12:10 +05:30
Vishnu Kumar ebbf118a30 File.Exists instead of try-catch for HitsFile creation/update validation 2019-05-19 18:40:54 +05:30
Vagisha Nidhi faa5b92a54 Nit change 2019-05-16 15:59:19 +05:30
Vagisha Nidhi 73de95d653 Variable change suggestion 2019-05-16 15:53:09 +05:30
Vagisha Nidhi c2d30e0848 Review comments addressed 2019-05-16 15:02:32 +05:30
Vagisha Nidhi f5ffe46be9 Modifying build.proj for including collectors build and test 2019-05-15 14:29:30 +05:30
Vagisha Nidhi 59c5af61e8 Coverlet DataCollectors Implementation 2019-05-15 14:06:21 +05:30
Marco Rossignoli 0e0f65f561 Update src/coverlet.msbuild.tasks/CoverageResultTask.cs
Co-Authored-By: Toni Solarin-Sodara <toni.edward@outlook.com>
2019-05-13 21:18:55 +02:00
Marco Rossignoli f06e76f18b Update src/coverlet.core/Instrumentation/InstrumenterResult.cs
Co-Authored-By: Toni Solarin-Sodara <toni.edward@outlook.com>
2019-05-13 21:18:45 +02:00
Marco Rossignoli 776a906ddb remove statics 2019-05-13 11:31:18 +02:00
Toni Solarin-Sodara bb1f3882a9 Merge pull request #406 from MarcoRossignoli/downgradelog
Downgrade verbosity log for hit files not found
2019-05-12 23:50:53 +01:00
Toni Solarin-Sodara b3899127b7 update package description 2019-05-09 00:44:45 +01:00
Toni Solarin-Sodara 52e1f3b54d bump version numbers 2019-05-09 00:36:44 +01:00
Toni Solarin-Sodara 61151b02f1 update README.md 2019-05-09 00:33:55 +01:00
Marco Rossignoli 6ba4081522 downgrade verbosity log 2019-05-08 14:30:49 +02:00
Toni Solarin-Sodara e0c670e9a8 Merge pull request #392 from vagisha-nidhi/versionUpdateSystemRefMetadata
Updating System.Reflection.Metadata version
2019-05-08 12:09:05 +01:00
Vagisha Nidhi c0e981501c Comment suggestion addressed 2019-05-08 14:58:30 +05:30
Vagisha Nidhi ffb373effd Adding comment and link 2019-05-08 14:31:46 +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 2201898fe4 When no line exists, Percent should return default percentage value 100. 2019-05-06 21:26:20 +05:30
Vishnu Kumar 66dad3bbd7 Wrongly called Line coverage instead of branch coverage in Cobertura Reporter 2019-05-06 20:46:12 +05:30
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
Toni Solarin-Sodara cdbfff2bea Merge pull request #398 from MarcoRossignoli/suppressNU5125
Suppress NU5125
2019-05-06 14:16:56 +01:00
Toni Solarin-Sodara f64337e74e Merge pull request #394 from MarcoRossignoli/protectstatic
Use ConcurrentDictionary for static var
2019-05-06 00:22:48 +01:00
Toni Solarin-Sodara c1988c846f Merge pull request #399 from MarcoRossignoli/uniformnamespace
Uniform helper namespace
2019-05-05 23:49:18 +01:00
Toni Solarin-Sodara 35eccd9a30 Merge pull request #384 from ViktorHofer/LogLevel
Add log level option
2019-05-05 23:48:44 +01:00
Marco Rossignoli d2250ab083 uniform helper namespace 2019-05-05 20:20:12 +02:00
Marco Rossignoli 6f420c1ed1 suppress NU5125 2019-05-04 22:21:22 +02: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 74f3eadf7e updates 2019-05-02 21:52:25 +02:00
Marco Rossignoli ebfff1f15e use ConcurrentDictionary 2019-05-02 21:51:23 +02:00
Marco Rossignoli b3207e44fa Update src/coverlet.console/Logging/LogLevel.cs
Co-Authored-By: ViktorHofer <viktor.hofer@microsoft.com>
2019-05-02 16:01:10 +02:00
Marco Rossignoli a3c5d39e48 merge master 2019-05-01 18:05:10 +02:00
Vagisha Nidhi c38745d5f5 Updating System.Reflection.Metadata version 2019-04-30 19:08:18 +05:30
Viktor Hofer cdfe540f22 Fix option values and log output 2019-04-26 01:46:45 +02:00
Viktor Hofer f9dc78bb13 Add high importance log option 2019-04-26 01:34:18 +02:00
Viktor Hofer bf1cfa0dca Change log to verbose in instrumenter 2019-04-26 01:21:48 +02:00
Viktor Hofer 9d502467cf Normalize log outputs 2019-04-26 00:05:46 +02:00