Commit Graph

589 Commits

Author SHA1 Message Date
David Müller cfccd83126 New parameter to control automatic assembly exclusion (#1392)
New parameter to control automatic assembly exclusion
2022-11-10 10:36:26 +01:00
Marco Rossignoli e2c9d84a84 Prepare release (#1400) 2022-10-29 17:04:53 +02:00
David Müller 32bcff149f TypeLoadException for certain combinations with Microsoft.Extensions.DependencyInjection 6.0.1 (#1395) 2022-10-27 09:54:43 +02:00
Jakub Chocholowicz 5637470aa9 Make targets changes linear (#1388)
Make targets changes linear
2022-10-07 17:01:28 +02:00
Thomas e11c14d11f Added InstrumentModulesWithoutLocalSources setting (#1360)
* ignore not available sources

* remove debug.assert

* readded assert

* added setting to allow instrumentation of modules without local sources

* Update src/coverlet.console/Program.cs

Co-authored-by: Peter Liljenberg <peter@klavrekod.se>

* Update CoberturaReporter.cs

removed obsolete Debug.Assert

Co-authored-by: adfrth5 <thomas_frenzel@siemens.com>
Co-authored-by: Peter Liljenberg <peter@klavrekod.se>
2022-07-29 15:49:30 +02:00
Maciej Klemarczyk 1e85144217 Handle PDB location when project build externally (#1354)
Handle PDB location when project build externally
2022-06-27 11:23:48 +02:00
George Vanburgh e50e24d454 Add some more Roslyn generated file suffixes (#1352)
Add some more Roslyn generated file suffixes
2022-06-24 09:37:05 +02:00
David Müller 104bf16a0c return relative path as sourcelink for codegenerators (#1323) 2022-04-18 08:55:00 +02:00
David Müller ebbf042449 imp + test + changelog (#1306) 2022-03-15 21:23:55 +01:00
David Müller 3c1124e88f Wrong coverage for await foreach with generic method (#1312) 2022-03-15 10:33:17 +01:00
Amaury Levé 2bb04f21ec Increase severity of some rules and fix instances (#1305)
Increase severity of some rules and fix instances
2022-02-24 11:23:41 +01:00
Amaury Levé 03ff455578 Add editorconfig with tuned configuration (#1300)
Add editorconfig with tuned configuration
2022-02-14 09:14:38 +01:00
Marco Rossignoli e335b1a802 Prepare release 3.1.2 (#1293)
Prepare release 3.1.2
2022-02-06 17:17:46 +01:00
Marco Rossignoli 83b5b35ae3 Fix finally generation for AppContext.OnProcessExit (#1291)
Fix finally generation for AppContext.OnProcessExit
2022-02-05 23:13:07 +01:00
Marco Rossignoli c8eafe5297 Put AppContext.OnProcessExit body inside a try/finally (#1290)
Put AppContext.OnProcessExit body inside a try/finally
2022-02-05 19:39:38 +01:00
Marco Rossignoli d427957749 Remove missing type inside CoreLib from the ModuleTrackerTemplate (#1286)
Remove missing type inside CoreLib from the ModuleTrackerTemplate
2022-01-31 22:06:46 +01:00
Marco Rossignoli e4278c06fa Prepare release (#1281)
Prepare release
2022-01-30 11:51:15 +01:00
David Müller 84876b09c6 Implementation of exclusion (#1277)
implementation of exclusion
2022-01-14 11:25:21 +01:00
David Müller 8582925a85 Negative coverage when integer overflows (#1267)
Negative coverage when integer overflows
2021-12-20 13:37:23 +01:00
David Müller 8eaaecbea6 Invariant CLI output (#1264)
Invariant CLI output
2021-12-06 08:23:59 +01:00
David Müller 924d3bbe89 Fix coverage issue for finally block with await (#1245)
Fix coverage issue for finally block with await
2021-11-06 10:40:00 +01:00
Marco Rossignoli cf59c4f6f6 Skip ResolvedFileToPublish list during publish (#1243)
Skip ResolvedFileToPublish list during publish
2021-11-06 10:37:12 +01:00
Marco Rossignoli 32c57d61a2 Improve logging (#1230)
Improve logging
2021-10-02 18:43:49 +02:00
Marco Rossignoli 278b3189d9 Add CompilerGenerated attribute to the tracker (#1229)
Add CompilerGenerated attribute to the tracker
2021-10-02 18:05:02 +02:00
Marco Rossignoli c6dddb519c Document instrumentation alg (#1228)
Document instrumentation alg
2021-10-02 17:20:47 +02:00
James Truher [MSFT] 8f91b3414f Be sure to open the hitfile with read access. (#1214)
Be sure to open the hitfile with read access.
2021-09-09 21:39:03 +02:00
David Müller e97876c350 Branch coverage issue with several awaits (#1201)
Branch coverage issue with several awaits
2021-08-05 19:01:16 +02:00
David Müller 624ef0f5d8 Return non zero exit code for ThresholdStatistic.Minimum even when no coverage (#1206)
Return non zero exit code for ThresholdStatistic.Minimum even when no coverage
2021-08-05 18:45:57 +02:00
Marco Rossignoli 383684f00b Bump versions (#1200)
Bump versions
2021-07-19 20:17:13 +02:00
David Müller 4902c245c8 Incorrect branch coverage async pattern for targetframework net472 (#1169)
Incorrect branch coverage async pattern for targetframework
2021-05-30 12:00:20 +02:00
David Müller db09e8b156 Skip fsharp construct with unknown source (#1165)
Skip fsharp construct with `unknown` source
2021-05-29 09:20:53 +02:00
David Müller 8a59bd59c1 Skip assigned auto properties and records (#1159)
Skip assigned auto properties and records
2021-05-05 08:32:15 +02:00
David Müller 4e1a055992 Bugfix partially covered throw statement (#1144)
Bugfix partially covered throw statement
2021-04-19 07:46:15 +02:00
Paulo Barbosa c74b9c41b5 Add multiple threshold (#1123)
Add multiple threshold
2021-03-30 21:40:29 +02:00
David Müller b1c20d546c Threshold not fail when no module (#1115)
Threshold not fail when no module
2021-03-25 19:14:03 +01:00
benjaminZale c745dbca3c Implementation of Npath complexity for the OpenCover reports (#1058)
Implementation of Npath complexity for the OpenCover reports
2021-03-14 17:43:29 +01:00
Marco Rossignoli a2082b301d Add deterministic report support (#1113)
Add deterministic report support
2021-03-13 15:40:11 +01:00
Alex Thornton 29e4fd4459 Correct coverage for await using (#1111)
Correct coverage for `await using`
2021-03-08 08:35:54 +01:00
Marco Rossignoli 11d1f7ce95 Fix ExcludeFromCodeCoverage on props
Fix ExcludeFromCodeCoverage on props
2021-03-08 08:10:04 +01:00
Alex Thornton b5923ca216 Coverage for "await foreach" loops and compiler-generated async iterators (issue #1104) (#1107)
Coverage for "await foreach" loops and compiler-generated async iterators (issue #1104) (#1107)
2021-03-06 23:00:48 +01:00
Marco Rossignoli adfabfd58d Bump version (#1093)
Bump version
2021-02-21 13:35:03 +01:00
Marco Rossignoli cb25c6fb3c Skip file check existence for source generated file (#1091)
Skip file check existence for source generated file
2021-02-21 12:16:58 +01:00
Marco Rossignoli ed91851549 Prepare for release 3.0.2 (#1066)
Prepare for release 3.0.2
2021-01-24 14:02:09 +01:00
Marco Rossignoli e3c5737f02 Opt-in reachability helper (#1061)
Opt-in reachability helper
2021-01-23 15:37:28 +01:00
Marco Rossignoli 070f2b47ef Fix multi-line lambda coverage regression (#1060)
Fix multi-line lambda coverage regression
2021-01-17 19:44:39 +01:00
Marco Rossignoli 1b45fd8924 Release 3.0.1 (#1053)
Release 3.0.1
2021-01-16 10:09:29 +01:00
daveMueller da09d4ab77 Fix loss in coverage (#1043) 2021-01-14 08:53:38 +01:00
Marco Rossignoli 1e77f9d218 Setup versions for release (#1030)
Setup versions for release
2021-01-09 17:37:27 +01:00
Marco Rossignoli bc58ae0117 Bump sdk and move .NET tool to LTS (#1022)
Bump sdk and move .NET tool to LTS
2020-12-27 13:40:42 +01:00
Tony Hallett 511a3074bb Assembly attribute exclusion with IsExcludeAttribute. Close #1013 #1011 (#1017)
* Assembly attribute exclusion with IsExcludeAttribute. Close #1013 #1011

* whitespace

Co-authored-by: Toni Solarin-Sodara <toni.edward@outlook.com>

Co-authored-by: Toni Solarin-Sodara <toni.edward@outlook.com>
2020-12-17 22:00:36 +01:00