Excel-DNA / Excel-DNA/DeveloperTools

Testing - Check Dispose call timing for OutOfProcess tests

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

From @eeaston:

> Running the dispose method when using OutOfProcess mode throws errors due to I think closed process handles.
>
> // Clean-up for the class is in the IDisposable.Dispose implementation
> public void Dispose()
> {
> wb.Close(SaveChanges: false);
> }
>

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test path is named. Start by locating the OutOfProcess tests and the IDisposable.Dispose implementation shown in the report, then reproduce the failure around wb.Close(SaveChanges: false). Done means the disposal timing no longer raises closed-process-handle errors and the behavior is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.