Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[156] - Override test params #163

Merged
merged 7 commits into from
Jul 14, 2024
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
4 changes: 2 additions & 2 deletions .dotnetexec.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"commands": {
"bump": [
"cd src",
"dotnet versionize --pre-release alpha --proj-version-bump-logic",
"dotnet versionize --pre-release alpha --find-release-commit-via-message",
"git push --tag origin",
"git push"
],
"bump:live": [
"dotnet versionize --aggregate-pre-releases --proj-version-bump-logic",
"dotnet versionize --aggregate-pre-releases --find-release-commit-via-message",
"git push --tag origin",
"git push"
]
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines.

<a name="2.0.1-alpha.0"></a>
## [2.0.1-alpha.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.1-alpha.0) (2024-07-07)

### Features

* refactor in logger ([9bf4b1c](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/9bf4b1c95dbf5f2e13e0e5f0eb6fffa515174009))

<a name="2.0.0"></a>
## [2.0.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0) (2024-02-15)

### Features

## What's Changed
* chore(deps): bump kzrnm/get-net-sdk-project-versions-action from 1 to 2 by @dependabot in https://github.com/joaoopereira/dotnet-test-rerun/pull/134
* feat: bump target framework to net8.0 by @ricardofslp in https://github.com/joaoopereira/dotnet-test-rerun/pull/133

<a name="1.9.0"></a>
## [1.9.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v1.9.0) (2024-01-10)

Expand Down
34 changes: 34 additions & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@

All notable changes to this project will be documented in this file. See [versionize](https://github.com/versionize/versionize) for commit guidelines.

<a name="2.0.1-alpha.1"></a>
## [2.0.1-alpha.1](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.1-alpha.1) (2024-07-07)

### Bug Fixes

* issue in logger ([7184e00](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/7184e0090b9b956c87a112228d5dcc2a194fc2f1))

<a name="2.0.0-alpha.2"></a>
## [2.0.0-alpha.2](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.2) (2024-07-07)

### Bug Fixes

* refactor in logger ([f0a61bc](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/f0a61bceeda19f5897237716da5df5cabd90c7cb))

<a name="2.0.0-alpha.1"></a>
## [2.0.0-alpha.1](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.1) (2024-07-07)

<a name="2.0.0-alpha.0"></a>
## [2.0.0-alpha.0](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v2.0.0-alpha.0) (2024-07-07)

### Features

* bump target framework to net8.0 ([5db2b5b](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/5db2b5b891575f8b2492b682eb3b0748c86e8e9b))

### Bug Fixes

* fixed logic to have right naming in inline parameters ([4aab261](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/4aab26164ddc94722ffb70108444dd6b6cd4950d))
* solve issues in verbosity normal ([0e659ed](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/0e659ede300a72d0bf246d118a42a586f56fc788))
* test on verbosity tests ([d6ef454](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/d6ef4543d0bf76dd18b3873c84e1fb61f9a47168))

### Breaking Changes

* bump target framework to net8.0 ([5db2b5b](https://www.github.com/joaoopereira/dotnet-test-rerun/commit/5db2b5b891575f8b2492b682eb3b0748c86e8e9b))

<a name="1.9.0-alpha.1"></a>
## [1.9.0-alpha.1](https://www.github.com/joaoopereira/dotnet-test-rerun/releases/tag/v1.9.0-alpha.1) (2023-12-19)

Expand Down
12 changes: 7 additions & 5 deletions src/RerunCommand/RerunCommandConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
{
#region Properties

public string Path { get; internal set; }

Check warning on line 14 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 14 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 14 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 14 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'Path' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public string Filter { get; internal set; }

Check warning on line 15 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'Filter' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 15 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'Filter' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 15 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'Filter' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 15 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'Filter' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public string Settings { get; internal set; }

Check warning on line 16 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'Settings' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 16 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'Settings' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 16 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'Settings' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 16 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'Settings' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public IEnumerable<string> Logger { get; internal set; }

Check warning on line 17 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'Logger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 17 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'Logger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 17 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'Logger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 17 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'Logger' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public string ResultsDirectory { get; internal set; }

Check warning on line 18 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'ResultsDirectory' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 18 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'ResultsDirectory' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 18 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'ResultsDirectory' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 18 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'ResultsDirectory' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public int RerunMaxAttempts { get; internal set; }
public LogLevel LogLevel { get; internal set; }
public bool NoBuild { get; internal set; }
Expand All @@ -23,9 +23,9 @@
public int Delay { get; internal set; }
public bool Blame { get; internal set; }
public bool DeleteReportFiles { get; internal set; }
public string Collector { get; internal set; }

Check warning on line 26 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'Collector' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 26 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'Collector' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 26 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'Collector' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 26 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'Collector' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public CoverageFormat? MergeCoverageFormat { get; internal set; }
public string Configuration { get; internal set; }

Check warning on line 28 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build and 🧪 Test

Non-nullable property 'Configuration' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 28 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🛠️ Build

Non-nullable property 'Configuration' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 28 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 🧪 Test

Non-nullable property 'Configuration' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 28 in src/RerunCommand/RerunCommandConfiguration.cs

View workflow job for this annotation

GitHub Actions / 📦 Pack and Push nuget

Non-nullable property 'Configuration' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
public LoggerVerbosity? Verbosity { get; internal set; }
public string Framework { get; internal set; }
public string PArguments { get; internal set; }
Expand Down Expand Up @@ -306,16 +306,18 @@
private string FetchInlineRunSettingsFromParse(ParseResult parseResult)
{
var inlineSettings = new StringBuilder();
var inlinesettingsOption = parseResult.GetValueForOption(InlineRunSettingsOption);
var inlineSettingsOption = parseResult.GetValueForOption(InlineRunSettingsOption);

if (inlinesettingsOption is not null &&
inlinesettingsOption.Length > 0)
if (inlineSettingsOption is not null &&
inlineSettingsOption.Length > 0)
{
inlineSettings.Append(" -- ");
inlineSettings.Append(string.Join(" ", inlinesettingsOption));
inlineSettings.Append(string.Join(" ", inlineSettingsOption));
}

return inlineSettings.ToString();
return inlineSettings.ToString().Replace("\"", "\\\"");


}


Expand Down
2 changes: 1 addition & 1 deletion src/dotnet-test-rerun.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression> GPL-3.0-or-later</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Version>1.9.0-alpha.1</Version>
<Version>2.0.1-alpha.1</Version>
<PackageProjectUrl>https://github.com/joaoopereira/dotnet-test-rerun</PackageProjectUrl>
<Description>wrapper of dotnet test command that automatic rerun failed tests</Description>
<RepositoryUrl>https://github.com/joaoopereira/dotnet-test-rerun</RepositoryUrl>
Expand Down
Loading