Uc003 Show Version
# specs/domain/features/UC003-show_version.feature
#
# SINGLE SOURCE OF TRUTH for use case behaviour.
# This file is:
# (1) referenced by specs/domain/use_cases/UC003-show_version.md (documentation)
# (2) executed by the acceptance test suite (living documentation)
#
# Rules:
# - Scenario IDs (e.g. UC003-S01) must match the use case document.
# - Step definitions live in: internal/acceptance/
# - Keep scenarios focused: one behaviour per scenario.
# - Use exact terms from specs/domain/glossary.md.
#
# Note: Module Path determines the Java package directory structure.
# gitlab.com/test/java-service → src/.../com/gitlab/test/javaservice/
Feature: Show Generator Version
As a user of the generator
I want to know the version of this tool
So that I can verify I'm using the expected version and check for updates if needed.
# ---------------------------------------------------------------------------
# Happy path
# ---------------------------------------------------------------------------
Scenario: UC003-S01 Successfully showing the generator version
Given the generator is installed and accessible via command line.
When the user runs the command to show the version
Then the version information is printed on one line, so that skrpts can easily parse the version number.
Then the version information contains version, build date, and commit hash, separated by spaces, for example: "v1.0.0 2024-01-01T18:20:00Z abcdef1234567890".