1.2 KiB
1.2 KiB
description
| description |
|---|
| Run tests for the .NET tracer |
Run tests for the Datadog .NET tracer.
Test types available:
- Managed unit tests:
.\build.cmd BuildAndRunManagedUnitTests - Native unit tests:
.\build.cmd BuildAndRunNativeUnitTests - Windows integration tests:
.\build.cmd BuildAndRunWindowsIntegrationTests - Linux integration tests:
.\build.cmd BuildAndRunLinuxIntegrationTests - macOS integration tests:
.\build.cmd BuildAndRunOsxIntegrationTests - Azure Functions tests:
.\build.cmd BuildAndRunWindowsAzureFunctionsTests - Smoke tests: Use
--filter "Category=Smoke"parameter
Additional options:
- Filter by framework:
--framework net6.0 - Filter by category:
--filter "Category=Smoke" - Skip Docker tests: Use environment variable to skip tests requiring Docker
Before running:
- Ask the user which type of tests to run if not specified
- Check if Docker is required and running (for integration tests)
- Verify you're in the correct directory
After running:
- Report test results (passed/failed/skipped counts)
- If tests fail, analyze failures and suggest fixes
- Show relevant error messages or stack traces