From 8fded4b3b45857463e830fac66bbdf8614c52a97 Mon Sep 17 00:00:00 2001 From: Sam Tholiya <tholiya.sam@outlook.in> Date: Thu, 16 Jan 2025 00:08:10 +0100 Subject: [PATCH] Add more test cases for atlantis --- tests/test-cases/help-and-usage.yaml | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/tests/test-cases/help-and-usage.yaml b/tests/test-cases/help-and-usage.yaml index cc0e4162b..060e8adbc 100644 --- a/tests/test-cases/help-and-usage.yaml +++ b/tests/test-cases/help-and-usage.yaml @@ -395,3 +395,39 @@ tests: stderr: - "^$" exit_code: 1 + - name: atmos atlantis generate repo-config help + enabled: true + description: "Should show help for 'atmos atlantis generate repo-config help'" + workdir: "../" + command: "atmos" + args: + - "atlantis" + - "generate" + - "repo-config" + - "help" + expect: + stdout: + - "Flags:" + - "--affected-only" + - "--config-template" + stderr: + - "^$" + exit_code: 0 + - name: atmos atlantis generate repo-config --help + enabled: true + description: "Should show help for 'atmos atlantis generate repo-config --help'" + workdir: "../" + command: "atmos" + args: + - "atlantis" + - "generate" + - "repo-config" + - "--help" + expect: + stdout: + - "Flags:" + - "--affected-only" + - "--config-template" + stderr: + - "^$" + exit_code: 0