Integration testing strategy (#998)
This commit is contained in:
parent
57da5d9a64
commit
1edc43c1b7
|
|
@ -144,24 +144,40 @@ updates:
|
|||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/dependency-libs/TestApplication.ExampleLibraryTracer
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.AspNet
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.GraphQL
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
ignore:
|
||||
# The instrumentation only supports specific versions of GraphQL and the test app needs to test against a specific version
|
||||
- dependency-name: "GraphQL*"
|
||||
|
|
@ -171,45 +187,77 @@ updates:
|
|||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.MongoDB
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.MySqlData
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.Npgsql
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.Plugins
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.Smoke
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/integrations/TestApplication.SqlClient
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
||||
- package-ecosystem: nuget
|
||||
directory: /test/test-applications/mocks/OpenTelemetry.AutoInstrumentation.Mock
|
||||
schedule:
|
||||
interval: "daily"
|
||||
open-pull-requests-limit: 20
|
||||
labels:
|
||||
- "dependencies"
|
||||
- ".NET"
|
||||
- "do NOT merge"
|
||||
|
|
|
|||
|
|
@ -149,6 +149,23 @@ how to run the examples.
|
|||
|
||||
The release process is described in [releasing.md](releasing.md).
|
||||
|
||||
## Integration tests
|
||||
|
||||
Apart from regular unit tests this repository contains integration tests
|
||||
under [test/IntegrationTests](../test/IntegrationTests)
|
||||
as they give the biggest confidence if the auto-instrumentation works properly.
|
||||
|
||||
Each test class has its related test application that can be found
|
||||
under [test/test-applications/integrations](../test/test-applications/integrations)
|
||||
Each library instrumentation has its own test class.
|
||||
Other features are tested via `SmokeTests` class or have its own test class
|
||||
if a dedicated test application is needed.
|
||||
|
||||
Currently, the strategy is to test the library instrumentations
|
||||
against its lowest supported version.
|
||||
The pull requests created by @dependabot with `do NOT merge` label
|
||||
are used to test against higher library versions when they are released.
|
||||
|
||||
## Debug the .NET runtime on Linux
|
||||
|
||||
- [Requirements](https://github.com/dotnet/runtime/blob/main/docs/workflow/requirements/linux-requirements.md)
|
||||
|
|
|
|||
Loading…
Reference in New Issue