A Claude Code iOS-appján keresztül generáltattam#1
Open
Conversation
Add comprehensive documentation for Claude Code including: - Project overview of Behat browser automation stack - Development setup and prerequisites - Commands for running tests - Architecture notes on FeatureContext and Mink integration - Guidelines for modifying tests and changing base URLs
Major dependency updates: - Replace facebook/webdriver (abandoned) with php-webdriver/webdriver ^1.15 - Upgrade phpunit/phpunit from ^6.3 to ^10.0 (6.5.8 → 10.5.58) - Upgrade behat/behat from v3.4.3 to v3.7.0 - Upgrade behat/mink from v1.7.1 to v1.9.0 - Upgrade behat/mink-selenium2-driver from v1.3.1 to v1.6.0 Additional upgrades: - doctrine/instantiator: 1.1.0 → 2.0.0 - All sebastian/* packages updated to latest versions - symfony/process: v3.4.11 → v7.3.4 - myclabs/deep-copy: 1.7.0 → 1.13.4 This update resolves PHP 8.4 compatibility issues where the old composer.lock required PHP ^7.0 for most packages. Note: Some packages show as abandoned (behat/mink-extension, fabpot/goutte, etc.) and there are 6 security advisories in guzzlehttp/guzzle. These may require future attention. Known issue: Behat v3.7.0 has a runtime i18n.php path resolution issue that needs investigation in a future update.
This commit wraps the project with a complete DDEV setup, providing a Docker-based local development environment with all dependencies pre-configured. Files added: - .ddev/config.yaml: Main DDEV configuration (PHP 8.4, Composer 2) - .ddev/docker-compose.selenium.yaml: Selenium standalone Chrome service - .ddev/commands/web/behat: Custom command to run Behat tests - .ddev/README.md: Comprehensive DDEV usage documentation - behat.ddev.yml: Behat config for DDEV (uses selenium:4444 hostname) Files modified: - .gitignore: Exclude DDEV dynamic files - CLAUDE.md: Add DDEV setup instructions and usage examples Features: - PHP 8.4 environment with Composer 2 - Selenium Grid with Chrome for browser automation - MariaDB 10.11 database - Automatic dependency installation via post-start hook - Custom 'ddev behat' command for running tests - VNC access to watch tests run (port 7900) Usage: ddev start # Start the environment ddev behat # Run all tests ddev behat features/search.feature # Run specific feature The Selenium service is accessible at http://selenium:4444/wd/hub from within DDEV containers, eliminating the need for local Selenium setup.
Add ergebnis/composer-normalize package to standardize composer.json formatting and automatically ran normalization. Changes made by composer-normalize: - Reordered top-level fields (license before type) - Alphabetically sorted require-dev dependencies - Added allow-plugins configuration for ergebnis/composer-normalize - Normalized version constraint: bossa/phpspec2-expect "1.*" → "^1.0" - Reordered scripts section (post-install-cmd before post-update-cmd) The package is now a dev dependency and the plugin is enabled, ensuring consistent composer.json formatting across contributors. Package: ergebnis/composer-normalize ^2.48
Add comprehensive VS Code setup to improve developer experience: Files added: - .vscode/settings.json: PHP/Behat-specific editor settings * PHP executable path and formatting configuration * File associations for .feature (Gherkin) and behat.yml files * Search/file exclusions for vendor/ and bin/ * Editor settings per file type (PHP, YAML, Gherkin) * Composer integration - .vscode/extensions.json: Recommended extensions * PHP Intelephense (language support) * PHP Debug (Xdebug integration) * Composer extension * Cucumber/Gherkin syntax highlighting * PHPUnit test runner * GitLens, YAML support, EditorConfig, Docker - .vscode/tasks.json: Quick tasks accessible via Cmd+Shift+B * Behat: Run All Tests (default test task) * Behat: Run Current Feature * DDEV: Start and Run Tests * Composer: Install, Update, Normalize * PHPUnit: Run All Tests - .vscode/launch.json: Debug configurations * Listen for Xdebug (port 9003) * Launch currently open PHP script * Debug Behat tests with breakpoints - .vscode/README.md: Documentation for VS Code setup - autotestack.code-workspace: Workspace file * Pre-configured with path: /Users/baluertl/Repos/autotestack * Embeds all settings, extensions, tasks, and launch configs * Can be opened directly: code autotestack.code-workspace Features: - One-click test execution (Cmd+Shift+B) - PHP debugging with Xdebug - Automatic extension recommendations on first open - DDEV integration for containerized development - Composer command integration - Gherkin/Behat syntax highlighting Usage: code autotestack.code-workspace # Open with workspace file Cmd+Shift+B # Run default test task F5 # Start debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add comprehensive documentation for Claude Code including: