microsoft / microsoft/AttackSurfaceAnalyzer

Refactor Collector Tests into a new Functional Tests Project

Open
#736 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
3k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Collector tests are unreliable in pipelines as they generally need to run as root/admin and perform actions that may be prohibited in pipeline context.

Describe the solution you'd like
Ideally these tests should be refactored into a second test project for functional tests.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the existing Collector tests and their current test project, then inspect how the pipeline runs them. Done means the Collector tests are in a separate functional-tests project and no longer make the regular pipeline unreliable because of root/admin or prohibited actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.