Skip to content

Commit b07e340

Browse files
committed
Rename to retest for easier dnx execution
1 parent 14beb94 commit b07e340

File tree

15 files changed

+22
-59
lines changed

15 files changed

+22
-59
lines changed

dotnet-retest.sln

Lines changed: 0 additions & 37 deletions
This file was deleted.

dotnet-retest.slnx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<Solution>
2+
<Project Path="src/Retest/Retest.csproj" />
3+
<Project Path="src/Sample/Sample.csproj" />
4+
</Solution>

readme.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
Runs `dotnet test` with retries for failed tests automatically, and pretty-prints aggregated
1111
test results, integrating also with GitHub PR comments just like [dotnet-trx](https://github.com/devlooped/dotnet-trx).
1212

13+
Install latest and run with a single command: `dnx retest`.
14+
1315
![Demo](https://raw.githubusercontent.com/devlooped/dotnet-retest/main/assets/img/ciretry.png)
1416

1517
When running locally, it provides live progress on each run:
@@ -35,7 +37,7 @@ PR comment integration:
3537
3638
> NOTE: this behavior is triggered by the presence of the `GITHUB_REF_NAME` and `CI` environment variables.
3739

38-
<!-- include src/dotnet-retest/help.md -->
40+
<!-- include src/Retest/help.md -->
3941
```shell
4042
USAGE:
4143
dotnet retest [OPTIONS] [-- [dotnet test options]]
@@ -57,22 +59,28 @@ OPTIONS:
5759
--gh-summary True Report as GitHub step summary
5860
```
5961

60-
<!-- src/dotnet-retest/help.md -->
62+
<!-- src/Retest/help.md -->
6163

6264
> NOTE: rendering the passed tests requires `verbose` verbosity, since typically
6365
> you'll just want to see the failed tests in the report, especially in projects with
6466
> large number of tests.
6567

68+
Install and Run latest:
69+
70+
```shell
71+
dnx retest
72+
```
73+
6674
Install:
6775

6876
```shell
69-
dotnet tool install -g dotnet-retest
77+
dotnet tool install -g retest
7078
```
7179

7280
Update:
7381

7482
```shell
75-
dotnet tool update -g dotnet-retest
83+
dotnet tool update -g retest
7684
```
7785

7886
<!-- #content -->
File renamed without changes.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
<AssemblyName>retest</AssemblyName>
88
<NoWarn>CS9107</NoWarn>
99
<GenerateDocumentationFile>false</GenerateDocumentationFile>
10+
<Description>Runs `dotnet test` with retries for failed tests automatically, with pretty-printed results and GitHub PR integration.</Description>
1011

11-
<PackageId>dotnet-retest</PackageId>
12+
<PackageId>retest</PackageId>
1213
<ToolCommandName>dotnet-retest</ToolCommandName>
14+
<PackAsTool>true</PackAsTool>
1315
<PackageReadmeFile>readme.md</PackageReadmeFile>
1416
<PackageTags>dotnet dotnet-tool</PackageTags>
1517
<PackageLicenseExpression></PackageLicenseExpression>
@@ -28,7 +30,6 @@
2830
<PackageReference Include="Devlooped.Web" Version="1.3.0" />
2931
<PackageReference Include="Humanizer.Core" Version="2.14.1" />
3032
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
31-
<PackageReference Include="NuGetizer" Version="1.2.4" />
3233
<PackageReference Include="NuGet.Protocol" Version="6.13.1" />
3334
<PackageReference Include="Spectre.Console.Cli" Version="0.51.1" />
3435
<PackageReference Include="System.CommandLine" Version="2.0.0-rc.1.25451.107" />

0 commit comments

Comments
 (0)