Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Documentation/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

-Fixed [#129](https://github.com/tonerdo/coverlet/issues/129) and [#670](https://github.com/tonerdo/coverlet/issues/670) with [#671](https://github.com/tonerdo/coverlet/pull/671) by https://github.com/matteoerigozzi


## Release date 2020-01-03
### Packages
coverlet.msbuild 2.8.0
Expand Down
3 changes: 3 additions & 0 deletions Documentation/ReleasePlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ We MANUALLY bump versions on production release, so we have different release pl

| Release Date | **coverlet.msbuild** | **coverlet.console** | **coverlet.collector** | **commit hash**| **notes** |
| :-------------: |:-------------:|:-------------:|:-------------:|:-------------:|:-------------:|
| <01 April 2020> | 2.8.1 | 1.7.1 | 1.2.1 |
| 03 January 2019 | 2.8.0 | 1.7.0 | 1.2.0 | 72a688f1c47fa92059540d5fbb1c4b0b4bf0dc8c | |
| 23 September 2019 | 2.7.0 | 1.6.0 | 1.1.0 | 4ca01eb239038808739699470a61fad675af6c79 | |
| 01 July 2019 | 2.6.3 | 1.5.3 | 1.0.1 | e1593359497fdfe6befbb86304b8f4e09a656d14 | |
| 06 June 2019 | 2.6.2 | 1.5.2 | 1.0.0 | 3e7eac9df094c22335711a298d359890aed582e8 | first collector release |

*< date > Expected next release date

To get the list of commits between two version use git command
```bash
git log --oneline hashbefore currenthash
Expand Down
4 changes: 2 additions & 2 deletions test/coverlet.integration.tests/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private protected string AddCollectorRunsettingsFile(string projectPath)
return runsettingsPath;
}

private protected void AssertCoverage(ClonedTemplateProject clonedTemplateProject, string filter = "coverage.json")
private protected void AssertCoverage(ClonedTemplateProject clonedTemplateProject, string filter = "coverage.json", string standardOutput = "")
{
bool coverageChecked = false;
foreach (string coverageFile in clonedTemplateProject.GetFiles(filter))
Expand All @@ -224,7 +224,7 @@ private protected void AssertCoverage(ClonedTemplateProject clonedTemplateProjec
coverageChecked = true;
}

Assert.True(coverageChecked, "Coverage check fail");
Assert.True(coverageChecked, $"Coverage check fail\n{standardOutput}");
}

private protected void UpdateProjectTargetFramework(ClonedTemplateProject project, params string[] targetFrameworks)
Expand Down
2 changes: 1 addition & 1 deletion test/coverlet.integration.tests/DotnetTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void DotnetTool()
string publishedTestFile = clonedTemplateProject.GetFiles("*" + ClonedTemplateProject.AssemblyName + ".dll").Single(f => !f.Contains("obj"));
RunCommand(coverletToolCommandPath, $"\"{publishedTestFile}\" --target \"dotnet\" --targetargs \"test {Path.Combine(clonedTemplateProject.ProjectRootPath, ClonedTemplateProject.ProjectFileName)} --no-build\" --include-test-assembly --output \"{clonedTemplateProject.ProjectRootPath}\"\\", out standardOutput, out standardError);
Assert.Contains("Test Run Successful.", standardOutput);
AssertCoverage(clonedTemplateProject);
AssertCoverage(clonedTemplateProject, standardOutput: standardOutput);
}
}
}