dotnet / dotnet/winforms

Create automated lifetime and shutdown coverage and run it in CI

Open
#14,944 0 comments 0 reactions 0 assignees View on GitHub
Review Issue
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

## Objective

Add focused unit and integration coverage for startup forms, custom application contexts, startup failures, cancellation, host-initiated shutdown, form-initiated shutdown, exception paths, and repeated runs where supported. Run locally and in the normal CI matrix; avoid timing-fragile tests.

## Completion guidance

- Keep the implementation focused on the objective while allowing the assignee to improve the approach based on research.
- Document important decisions, rejected alternatives, dependencies, and follow-up work.
- Add or update tests and documentation appropriate to the work.
- Verify locally and in CI where the task changes code or generated artifacts.

Contributor guide

Open the contributing guide

Research direction

No files or existing tests are named; start by locating the WinForms startup, application-context, lifetime, and shutdown tests, then inspect the normal CI matrix. Done means focused local and CI coverage for the listed startup, cancellation, shutdown, exception, and repeated-run paths without timing-fragile tests, with key decisions and follow-up work documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd, desktop, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.