Azure / Azure/azure-functions-dotnet-worker

Fix and Re-enable `Worker.ApplicationInsights.Tests`

Open
#2,780 0 comments 0 reactions 0 assignees View on GitHub
area: test
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

While fixing typos to reenable tests in https://github.com/Azure/azure-functions-dotnet-worker/pull/2773, it was discovered that this test suite was failing to build and run. Creating a separate issue to investigate these tests and reenable them. Once reenabled, they need to be added to `eng/ci/templates/jobs/run-unit-tests.yml`:

```
- task: DotNetCoreCLI@2
displayName: Application Insights Tests
inputs:
command: test
arguments: -v n
projects: |
**\Worker.ApplicationInsights.Tests.csproj
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating Worker.ApplicationInsights.Tests.csproj and reproducing why the test suite fails to build and run. Check the related test project and the existing CI configuration in eng/ci/templates/jobs/run-unit-tests.yml. Done means the tests build and run successfully, then the Application Insights test task is added to that CI template.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.