Skip to content

Commit 39f15f3

Browse files
authored
feat: open telemetry support (#19)
* chore: refactor solution items * feat: add open telemetry * feat!: remove test drivers * test: added dbmigrations tests * test: add configuration test * docs: readme typo
1 parent 9335dce commit 39f15f3

38 files changed

+281
-164
lines changed

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dotnet new classlib -n MyTestProject
1616

1717
```shell
1818
dotnet add package ArwynFr.IntegrationTesting
19-
dotnet add pacakge Microsoft.NET.Test.Sdk
19+
dotnet add package Microsoft.NET.Test.Sdk
2020
dotnet add package xunit.runner.visualstudio
2121
```
2222

.github/workflows/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
deployment:
1010
uses: ArwynFr/ArwynFr/.github/workflows/deployment-nuget.yaml@main
1111
with:
12-
target: ./src
12+
target: .
1313
secrets:
1414
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}

.github/workflows/integration.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,14 @@ jobs:
3535
env:
3636
SONAR_TOKEN: ${{ secrets.sonar_token }}
3737
- name: Run automated tests
38-
run: dotnet test src/ArwynFr.IntegrationTesting.Tests --settings runsettings.xml --results-directory TestResults
38+
run: dotnet test test/ArwynFr.IntegrationTesting.Tests --settings .runsettings --results-directory TestResults
3939
- name: SonarCloud analyze
4040
run: dotnet sonarscanner end
4141
env:
4242
SONAR_TOKEN: ${{ secrets.sonar_token }}
4343

4444
code-lint:
4545
runs-on: ubuntu-latest
46-
defaults:
47-
run:
48-
working-directory: src
4946
steps:
5047
- name: Checkout sources
5148
uses: actions/checkout@v4
@@ -66,13 +63,10 @@ jobs:
6663
with:
6764
files: .
6865
dot: true
69-
config_file: ./markdownlint.yaml
66+
config_file: .markdownlint
7067

7168
not-outdated:
7269
runs-on: ubuntu-latest
73-
defaults:
74-
run:
75-
working-directory: src
7670
steps:
7771
- name: Checkout sources
7872
uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Generated\ Files/
4545

4646
# MSTest test Results
4747
[Tt]est[Rr]esult*/
48+
[Tt]est[Rr]eport*/
4849
[Bb]uild[Ll]og.*
4950

5051
# NUnit
File renamed without changes.
File renamed without changes.

src/dotnet-integration-testing.sln renamed to dotnet-integration-testing.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.5.002.0
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ArwynFr.IntegrationTesting", "ArwynFr.IntegrationTesting\ArwynFr.IntegrationTesting.csproj", "{C9275A34-F1C9-4B74-8AC0-CA397DD43B00}"
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ArwynFr.IntegrationTesting", "src\ArwynFr.IntegrationTesting\ArwynFr.IntegrationTesting.csproj", "{C9275A34-F1C9-4B74-8AC0-CA397DD43B00}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArwynFr.IntegrationTesting.Tests", "ArwynFr.IntegrationTesting.Tests\ArwynFr.IntegrationTesting.Tests.csproj", "{680ECFFB-9C44-4032-94F2-952D4C931488}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArwynFr.IntegrationTesting.Tests", "test\ArwynFr.IntegrationTesting.Tests\ArwynFr.IntegrationTesting.Tests.csproj", "{680ECFFB-9C44-4032-94F2-952D4C931488}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArwynFr.IntegrationTesting.Tests.Target", "ArwynFr.IntegrationTesting.Tests.Target\ArwynFr.IntegrationTesting.Tests.Target.csproj", "{1ABA3A21-928C-44E2-8E72-3F004BBB1FDD}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArwynFr.IntegrationTesting.Tests.Target", "test\ArwynFr.IntegrationTesting.Tests.Target\ArwynFr.IntegrationTesting.Tests.Target.csproj", "{1ABA3A21-928C-44E2-8E72-3F004BBB1FDD}"
1111
EndProject
1212
Global
1313
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/ArwynFr.IntegrationTesting.Tests.Target/DummyDbContext.cs

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

src/ArwynFr.IntegrationTesting.Tests/DriverTest.cs

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

src/ArwynFr.IntegrationTesting.Tests/DummyDriver.cs

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

0 commit comments

Comments
 (0)