Skip to content

cli/command: move TestExperimentalCLI to cli/config - #5976

Merged
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:cli_move_TestExperimentalCLI
Apr 2, 2025
Merged

cli/command: move TestExperimentalCLI to cli/config#5976
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:cli_move_TestExperimentalCLI

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

This test was only testing whether we could load a legacy config-file that contained the "experimental" (experimental CLI) option. Experimental cli options are disabled since 977d3ae (20.10), and now enabled by default, but we should not fail to start the cli if the config-file contains the option.

Move the test to the config package, as it doesn't need the cli for this.

- A picture of a cute animal (not mandatory but encouraged)

@codecov-commenter

codecov-commenter commented Apr 1, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.12%. Comparing base (3349492) to head (0dabdd1).

Additional details and impacted files
@@ Coverage Diff @@## master #5976 +/- ##
=======================================
Coverage 59.12% 59.12% =======================================
Files 355 355 Lines 29740 29740 =======================================
Hits 17583 17583 Misses 11182 11182 Partials 975 975 
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This test was only testing whether we could load a legacy config-file that
contained the "experimental" (experimental CLI) option. Experimental cli
options are disabled since 977d3ae (20.10),
and now enabled by default, but we should not fail to start the cli if the
config-file contains the option.
Move the test to the config package, as it doesn't need the cli for this.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztahforce-pushed the cli_move_TestExperimentalCLI branch from ab9c4ad to 0dabdd1CompareApril 1, 2025 15:06
@thaJeztah
thaJeztah requested a review from vvolandApril 2, 2025 12:15
@vvoland
vvoland merged commit 6523832 into docker:masterApr 2, 2025
@thaJeztah
thaJeztah deleted the cli_move_TestExperimentalCLI branch April 2, 2025 22:35
@thaJeztahthaJeztah modified the milestones: 28.0.5, 28.1.0Apr 10, 2025
@thaJeztahthaJeztah self-assigned this May 16, 2025
Sign up for freeto 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.

3 participants

@thaJeztah@codecov-commenter@vvoland