Skip to content

Reorganize console command tests - #4098

Merged
josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:organize-command-tests
Oct 9, 2026
Merged

josephsnyder merged 1 commit into
Kitware:masterfrom
williamjallen:organize-command-tests

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

Many of the console command tests predate our modern testing directory structure, and are left under tests/Feature. Some tests don't have the ...CommandTest suffix. The DeleteProjectCommandTest wasn't run at all. The UserCommand test tested two different commands. Several tests use legacy models, methods, and testing patterns. This PR brings order to the chaos of these tests, placing all of them under tests/Feature/Console and cleaning up some of the logic,.

Many of the console command tests predate our modern testing directory structure, and are left under `tests/Feature`.  Some tests don't have the `...CommandTest` suffix.  The `DeleteProjectCommandTest` wasn't run at all.  The `UserCommand` test tested two different commands.  Several tests use legacy models, methods, and testing patterns.  This PR brings order to the chaos of these tests, placing all of them under `tests/Feature/Console` and cleaning up some of the logic,.
@josephsnyder
josephsnyder added this pull request to the merge queue Oct 9, 2026
Merged via the queue into Kitware:master with commit 016859f Oct 9, 2026
8 checks passed
@williamjallen
williamjallen deleted the organize-command-tests branch October 9, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants