- Fixed path resolution in test setup to handle both feature-specific and multi-feature execution
- Standardized stopOnFailure=false for all feature tests to ensure consistent behavior
- Removed @todo tag from implemented Configuration validation scenario
- Ensured GODOG_TAGS=todo go test ./features/X/... and FEATURE=X go test ./features/ run identical tests
All feature suites (jwt, auth, greet, health, config) now behave consistently regardless of execution method.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Create pkg/bdd/testsetup package with shared test configuration functions
- Refactor all feature test files to use shared setup (70+ lines reduced)
- Implement dynamic feature path detection by scanning filesystem for directories
- Add getProjectRoot() function to find project root via go.mod
- Maintain all existing functionality (tags, stop on failure, etc.)
- Add fallback to hardcoded paths if filesystem access fails
- Sort feature paths for consistent test execution order
Before: ~35 lines per test file with duplicated setup code
After: ~5 lines per test file using shared functions
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistralai.com>
- Add GODOG_STOP_ON_FAILURE environment variable to all test suites
- Maintain feature-specific defaults for stop on failure behavior
- JWT, Greet, Auth, Health: stop on failure by default (true)
- Config, All Features: continue after failures by default (false)
- Allow runtime override via environment variable
- Update BDD_TAGS.md with usage examples and defaults
- Support boolean values: true, false, 1, 0
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistralai.com>
- Remove @wip from default tag filters in all test suites
- Update features/bdd_test.go to support GODOG_TAGS override
- Move @wip tag from passing scenario to @todo scenario
- Maintain tag override functionality via GODOG_TAGS environment variable
- Update documentation to reflect new default behavior
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Modify all feature test suites to accept GODOG_TAGS environment variable
- Allow runtime tag filtering override for focused testing
- Update BDD_TAGS.md with usage examples
- Maintain default behavior when GODOG_TAGS not set
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add @wip tag documentation to BDD_TAGS.md
- Modify all feature test suites to include @wip in tag filters
- Update test scripts to handle @wip tag inclusion
- @wip overrides exclusion tags (@todo, @skip, @flaky) for active development
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Add @flaky, @todo, @skip tags to BDD_TAGS.md
- Modify all feature test suites to exclude these tags
- Update test scripts to exclude tagged scenarios
- Mark all JWT scenarios with pending steps as @todo
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Moved BDD_TAGS.md from root to features/ directory
- Updated documentation to reflect new location
- Maintains comprehensive tag documentation
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- Added port management system with PortManager for parallel execution
- Implemented resource monitoring with ResourceMonitor and ParallelTestRunner
- Created test-all-features-parallel.sh for parallel feature test execution
- Added comprehensive BDD_TAGS.md documentation for tag usage
- Implemented port allocation, conflict detection, and resource tracking
- Added timeout detection and controlled parallelism
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Adds features/test-config.yaml and test-config.yaml to .gitignore
to prevent temporary BDD test configuration files from being
accidentally committed to the repository.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Adds comprehensive BDD test scenarios for configuration hot reloading functionality:
- 10 scenarios covering hot reloading of logging level, feature flags, telemetry settings, JWT TTL
- Scenarios for handling invalid configurations, file deletion/recreation, rapid changes
- Audit logging scenarios for configuration changes
- All scenarios follow black box testing principles using actual HTTP endpoints
The scenarios are marked as pending since the hot reloading feature is not yet implemented.
They will serve as executable specifications for the future implementation.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Adds Architecture Decision Record 0023 proposing selective hot reloading
for configuration changes. The ADR analyzes different approaches and
recommends implementing hot reloading only for safe parameters like
logging level, feature flags, and telemetry settings while requiring
restart for critical parameters like server settings and credentials.
The ADR includes:
- Problem statement and decision drivers
- Analysis of 4 different approaches
- Detailed implementation strategy
- Safety considerations and error handling
- Migration plan and future enhancements
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Added critical documentation about using separate 'Closes' lines for PR merge commits:
- Explains why single-line multiple issue references fail
- Provides correct multi-line format examples
- Prevents common issue where only first issue gets closed
- Updates usage examples with proper multi-issue syntax
This fixes the issue we encountered where 'Closes #4, #5, #6' only closed#4.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>