Files
cleverclaude-core/features/cli.feature
T
2025-08-10 00:20:59 +00:00

39 lines
1.1 KiB
Gherkin

Feature: Command-line greeting interface
As a user of the CleverClaude CLI
I want to be greeted properly
So that I can verify the application works
Background:
Given the CLI is available
Scenario: Default greeting
When I run "python -m cleverclaude"
Then the exit code should be 0
And the output should contain "Hello, World!"
Scenario: Custom name greeting
When I run "python -m cleverclaude --name Alice"
Then the exit code should be 0
And the output should contain "Hello, Alice!"
Scenario: Multiple greetings
When I run "python -m cleverclaude --count 3"
Then the exit code should be 0
And the output should contain "Hello, World!" 3 times
Scenario Outline: Greeting various names
When I run "python -m cleverclaude --name <name>"
Then the exit code should be 0
And the output should contain "Hello, <name>!"
Examples:
| name |
| Bob |
| Charlie |
| |
| 🎉 |
@hypothesis
Scenario: Fuzz test greeting names
When I fuzz test the CLI with random names
Then all invocations should succeed