d1d618a2e6
🧪 test: implement Phase 2 BDD infrastructure with synchronization, context management, and tag-based execution
...
- Added synchronization helpers (waitForServerReady, waitForConfigReload, etc.)
- Implemented feature-specific context management (AuthContext, ConfigContext)
- Created feature suite initialization (InitializeFeatureSuite, CleanupFeatureSuite)
- Added comprehensive tag-based test execution with @smoke, @critical, @basic tags
- Enhanced run-bdd-tests.sh with list-tags and run [tags] subcommands
- Added BDD_TAGS.md documentation for tag usage
- Maintained backward compatibility with existing test structure
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-04-09 23:25:28 +02:00
e7c6154eab
🔧 chore: update BDD test scripts with improved error handling and logging
...
- Enhanced run-bdd-tests.sh with better error detection
- Added detailed logging for test execution
- Improved script robustness and failure handling
- Added pre-test validation checks
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-04-09 22:51:16 +02:00
3bad64026b
🧪 test: reduce BDD undefined steps from 52 to 1
...
- Add missing JWT secret rotation step definitions
- Implement JWT retention policy step implementations
- Fix step pattern matching for Godog compatibility
- Add proper godog.ErrPending for unimplemented steps
- Resolve argument mismatch in step definitions
Reduces undefined steps by 98% (52 → 1)
All JWT secret rotation scenarios now have step definitions
Remaining undefined step is response validation pattern issue
2026-04-09 17:40:51 +02:00
c1e628f339
📝 docs: update comprehensive documentation and project infrastructure
...
Documentation Updates:
- Enhanced AGENTS.md with user authentication details
- Updated README.md with authentication API documentation
- Added CONTRIBUTING.md guidelines for BDD testing
- Version management guide improvements
- Local CI/CD testing documentation
Project Infrastructure:
- Updated .gitignore for new file patterns
- Enhanced git hooks documentation
- YAML linting configuration
- Script improvements and organization
- Configuration management updates
API Enhancements:
- Greet service integration with authentication
- Server middleware for JWT validation
- Telemetry improvements
- Version management utilities
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai >
2026-04-09 00:26:15 +02:00
85b6cf82ee
🧪 feat: complete BDD implementation with comprehensive documentation
...
Finalize BDD testing framework with:
- Unified step definitions using StepContext struct
- Proper server verification in theServerIsRunning step
- Robust JSON response handling with escaping and newline trimming
- Updated documentation reflecting current implementation
- Test validation script to ensure test quality
- All tests passing with proper black box testing
Key files updated:
- pkg/bdd/steps/steps.go: Unified step definitions
- pkg/bdd/testserver/client.go: Robust response validation
- pkg/bdd/README.md: Godog pattern guide
- doc/BDD_GUIDE.md: Updated usage guide
- adr/0008-bdd-testing.md: Updated ADR with current approach
- scripts/run-bdd-tests.sh: Test validation script
The BDD framework is now production-ready with comprehensive
documentation and proper testing practices.
2026-04-04 17:59:35 +02:00