Skip to content

Commit 0176005

Browse files
committed
#132 - Tests -> UnitTests
1 parent f2ed303 commit 0176005

28 files changed

+31
-31
lines changed

.github/workflows/develop.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
run: dotnet build /p:Version=${{ steps.version_step.outputs.fullSemVer }} --no-restore -c Release -v n
5454
- name: Unit Tests
5555
run: |
56-
dotnet test -c Release ./tests/HydraScript.Infrastructure.LexerRegexGenerator.Tests/HydraScript.Infrastructure.LexerRegexGenerator.Tests.csproj --no-build -v n
56+
dotnet test -c Release ./tests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests.csproj --no-build -v n
5757
dotnet test -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --no-build -v n --filter="Category=Unit"
5858
mkdir coverage-report
5959
- name: Code Coverage Summary Report For Merge Request
6060
if: github.event_name == 'pull_request_target'
6161
uses: 5monkeys/cobertura-action@master
6262
with:
63-
path: ./tests/HydraScript.Tests/coverage.cobertura.xml
63+
path: ./tests/HydraScript.UnitTests/coverage.cobertura.xml
6464
repo_token: ${{ secrets.GITHUB_TOKEN }}
6565
minimum_coverage: 20
6666
fail_below_threshold: true
@@ -72,7 +72,7 @@ jobs:
7272
- name: ReportGenerator
7373
uses: danielpalme/[email protected]
7474
with:
75-
reports: './tests/HydraScript.Tests/coverage.cobertura.xml'
75+
reports: './tests/HydraScript.UnitTests/coverage.cobertura.xml'
7676
targetdir: './coverage-report'
7777
- name: Upload coverage report artifact
7878
if: github.event_name == 'push'
@@ -87,4 +87,4 @@ jobs:
8787
uses: actions/upload-artifact@v4
8888
with:
8989
name: windows_build_${{ steps.version_step.outputs.fullSemVer }}
90-
path: ./src/HydraScript/bin/Release/net8.0
90+
path: ./src/HydraScript/bin/Release/net9.0

ExtendedJavaScriptSubset.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript", "src\HydraScript\HydraScript.csproj", "{5DA79C0C-2B98-4E64-81EA-92AFFC5204D3}"
44
EndProject
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript.Tests", "tests\HydraScript.Tests\HydraScript.Tests.csproj", "{F0DD56CB-C68A-4CDC-AA54-0A07342FE08B}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript.UnitTests", "tests\HydraScript.UnitTests\HydraScript.UnitTests.csproj", "{F0DD56CB-C68A-4CDC-AA54-0A07342FE08B}"
66
EndProject
77
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{86CF2A2F-4DFE-48E7-B062-EF824730916A}"
88
ProjectSection(SolutionItems) = preProject
@@ -98,7 +98,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript.IntegrationTest
9898
EndProject
9999
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript.Infrastructure.LexerRegexGenerator", "src\Infrastructure\HydraScript.Infrastructure.LexerRegexGenerator\HydraScript.Infrastructure.LexerRegexGenerator.csproj", "{74D1495B-12A4-4E1A-ABE0-93029ECDC5FE}"
100100
EndProject
101-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript.Infrastructure.LexerRegexGenerator.Tests", "tests\HydraScript.Infrastructure.LexerRegexGenerator.Tests\HydraScript.Infrastructure.LexerRegexGenerator.Tests.csproj", "{829111AD-4A5C-4B3D-AC28-208309CE10D6}"
101+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HydraScript.Infrastructure.LexerRegexGenerator.UnitTests", "tests\HydraScript.Infrastructure.LexerRegexGenerator.UnitTests\HydraScript.Infrastructure.LexerRegexGenerator.UnitTests.csproj", "{829111AD-4A5C-4B3D-AC28-208309CE10D6}"
102102
EndProject
103103
Global
104104
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/Application/HydraScript.Application.StaticAnalysis/HydraScript.Application.StaticAnalysis.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<InternalsVisibleTo Include="HydraScript.Tests" />
13+
<InternalsVisibleTo Include="HydraScript.UnitTests" />
1414
</ItemGroup>
1515

1616
</Project>

src/Infrastructure/HydraScript.Infrastructure/HydraScript.Infrastructure.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<InternalsVisibleTo Include="HydraScript.Tests" />
23+
<InternalsVisibleTo Include="HydraScript.UnitTests" />
2424
</ItemGroup>
2525

2626
</Project>

tests/HydraScript.Infrastructure.LexerRegexGenerator.Tests/HydraScript.Infrastructure.LexerRegexGenerator.Tests.csproj renamed to tests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests.csproj

File renamed without changes.

tests/HydraScript.Infrastructure.LexerRegexGenerator.Tests/PatternGeneratorTests.cs renamed to tests/HydraScript.Infrastructure.LexerRegexGenerator.UnitTests/PatternGeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using NSubstitute;
77
using Xunit;
88

9-
namespace HydraScript.Infrastructure.LexerRegexGenerator.Tests;
9+
namespace HydraScript.Infrastructure.LexerRegexGenerator.UnitTests;
1010

1111
public class PatternGeneratorTests
1212
{
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/HydraScript.Tests/TestData/InstructionsData.cs renamed to tests/HydraScript.UnitTests/TestData/InstructionsData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using HydraScript.Domain.BackEnd.Impl.Instructions.WithJump;
99
using HydraScript.Domain.BackEnd.Impl.Values;
1010

11-
namespace HydraScript.Tests.TestData;
11+
namespace HydraScript.UnitTests.TestData;
1212

1313
public class InstructionsData : IEnumerable<object[]>
1414
{

0 commit comments

Comments
 (0)