Skip to content

Reorganizing tests#970

Merged
michelebastione merged 8 commits into
mini-software:masterfrom
michelebastione:reorganizing-tests
Jun 1, 2026
Merged

Reorganizing tests#970
michelebastione merged 8 commits into
mini-software:masterfrom
michelebastione:reorganizing-tests

Conversation

@michelebastione
Copy link
Copy Markdown
Collaborator

@michelebastione michelebastione commented Jun 1, 2026

Separated tests into folders pertaining to their functionalities, and moved all models to their own files.
Also removed the appveyor.yml file since it's not functional and not relevant to the project anymore.

Moved issue tests in their own folder, separated gitee issues from github issues and ordered them, and moved models to own file.
Moved models to own folder and cleaned up some code paths
Moved `MiniExcelOpenXmlConfigurationTests` and `MiniExcelAutoAdjustWidthTests` to own folder and separated models to own file
Moved `MiniExcelOpenXmlTests` and `MiniExcelOpenXmlAsyncTests` classes to their own folder and separated models into their own file
Separated tests into Main and Issues folders, and moved models to their own file
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request reorganizes the test suite by moving test files into structured subdirectories (such as Issues, Main, Configuration, and MultipleSheets), extracting test DTOs and models into dedicated Models.cs files, and refactoring asynchronous tests to use proper async/await patterns instead of blocking calls. Additionally, the AppVeyor configuration and its references have been removed. The review feedback focuses on improving resource management within the tests, specifically recommending the use of AutoDeletingPath to guarantee the cleanup of temporary files upon test failures, and wrapping returned DataTable instances in using statements to ensure proper disposal.

Comment thread tests/MiniExcel.OpenXml.Tests/Issues/MiniExcelGithubIssuesAsyncTests.cs Outdated
Comment thread tests/MiniExcel.OpenXml.Tests/Issues/MiniExcelGithubIssuesAsyncTests.cs Outdated
Comment thread tests/MiniExcel.OpenXml.Tests/Issues/MiniExcelGiteeIssuesTests.cs Outdated
Comment thread tests/MiniExcel.Csv.Tests/Issues/IssueTests.cs Outdated
Comment thread tests/MiniExcel.OpenXml.Tests/Issues/MiniExcelGithubIssuesAsyncTests.cs Outdated
Comment thread tests/MiniExcel.OpenXml.Tests/Issues/MiniExcelGithubIssuesAsyncTests.cs Outdated
Comment thread tests/MiniExcel.OpenXml.Tests/Issues/MiniExcelGithubIssuesAsyncTests.cs Outdated
@michelebastione michelebastione merged commit 2d543b3 into mini-software:master Jun 1, 2026
3 checks passed
@michelebastione michelebastione deleted the reorganizing-tests branch June 1, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant