@@ -11,17 +11,15 @@ This test suite provides automated testing of the PHP Booster integration proces
1111### Quick Start
1212
1313``` bash
14- # Check environment and requirements
15- ./test-integration.py env-check
16-
17- # Set up a Laravel test project
18- ./test-integration.py setup laravel my-test-app
19-
20- # Run complete integration test
21- ./test-integration.py full laravel my-test-app
14+ # Using Makefile (recommended)
15+ make test # Run Laravel test
16+ make test-symfony # Run Symfony test
17+ make test-clean # Clean up test environments
2218
23- # Clean up when done
24- ./test-integration.py clean laravel my-test-app
19+ # Or using Python script directly
20+ ./test-integration.py env-check
21+ ./test-integration.py full laravel
22+ ./test-integration.py clean laravel
2523```
2624
2725### Available Actions
@@ -46,14 +44,25 @@ This test suite provides automated testing of the PHP Booster integration proces
4644### Examples
4745
4846``` bash
49- # Test with custom project directory
50- ./test-integration.py setup laravel my-app --target-dir /tmp/my-test
51-
52- # Test Symfony project
53- ./test-integration.py full symfony symfony-test
47+ # Makefile shortcuts
48+ make test # Run full Laravel integration test
49+ make test-symfony # Run full Symfony integration test
50+ make test-hooks # Test git hooks functionality
51+ make test-env # Check environment and requirements
52+ make test-status # Show test environment status
53+ make test-clean # Clean up all test environments
54+
55+ # Python script directly
56+ ./test-integration.py full laravel
57+ ./test-integration.py full symfony
58+ ./test-integration.py setup laravel
59+ ./test-integration.py verify laravel
60+ ./test-integration.py test-hooks laravel
61+ ./test-integration.py status laravel
62+ ./test-integration.py clean laravel
5463
55- # Check status of existing project
56- ./test-integration.py status laravel my-test-app
64+ # Custom target directory (advanced)
65+ ./test-integration.py full laravel --target-dir /tmp/ my-test
5766```
5867
5968## Dependencies
@@ -125,32 +134,32 @@ Run `env-check` to verify all required commands are available:
125134Check DDEV status and restart if needed:
126135``` bash
127136# Check DDEV status
128- ./test-integration.py status laravel my-project
137+ ./test-integration.py status laravel
129138
130139# Resume a stopped project
131- ./test-integration.py setup-resume laravel my-project
140+ ./test-integration.py setup-resume laravel
132141```
133- ./test-integration.py
134-
135- # Full test with specific framework
136- ./test-integration.py full symfony
137142
138- # Full test with custom project name
139- ./test-integration.py full laravel my-custom-project
140-
141- # Individual test steps
142- ./test-integration.py setup # Only create and set up project
143- ./test-integration.py integrate # Only run booster integration
144- ./test-integration.py verify # Only verify integration worked
145- ./test-integration.py test-hooks # Only test git hooks and branch validation
146- ./test-integration.py status # Show current test environment status
147- ./test-integration.py clean # Clean up test environment
143+ ## Command Reference
148144
145+ ``` bash
149146# Environment check
150147./test-integration.py env-check
151148
152- # Custom target directory
153- ./test-integration.py full laravel custom-project /path/to/target
149+ # Full test (complete suite)
150+ ./test-integration.py full laravel
151+ ./test-integration.py full symfony
152+
153+ # Individual test steps
154+ ./test-integration.py setup laravel # Only create and set up project
155+ ./test-integration.py integrate laravel # Only run booster integration
156+ ./test-integration.py verify laravel # Only verify integration worked
157+ ./test-integration.py test-hooks laravel # Only test git hooks
158+ ./test-integration.py status laravel # Show status
159+ ./test-integration.py clean laravel # Clean up
160+
161+ # Custom target directory (advanced use case)
162+ ./test-integration.py full laravel --target-dir /path/to/target
154163```
155164
156165** Available Actions:**
@@ -168,6 +177,8 @@ Check DDEV status and restart if needed:
168177- ` laravel ` (default)
169178- ` symfony `
170179
180+ ** Note:** Project name is fixed as ` booster-test ` to ensure consistent, reproducible test environments.
181+
171182## GitHub Actions
172183
173184Integration tests are automatically run via GitHub Actions on:
@@ -185,8 +196,8 @@ The workflow uses the same Python test script and provides the same comprehensiv
185196The Python test script provides comprehensive verification:
186197
187198### Project Setup
188- - Creates fresh Laravel or Symfony projects using DDEV with framework-specific naming
189- - Framework-specific project names prevent DDEV conflicts (e.g., `booster-test-laravel`, `booster- test-symfony`)
199+ - Creates fresh Laravel or Symfony projects using DDEV
200+ - Fixed project name ` booster-test ` ensures consistent test environments
190201- Initializes git repository with proper configuration
191202- Sets up DDEV containers and services with unique project identification
192203
@@ -227,21 +238,22 @@ The test script provides:
227238
228239## Cleaning Up
229240
230- The Python script creates test projects with framework-specific naming:
231- - Laravel: `tests/laravel/booster-test-laravel`
232- - Symfony: `tests/symfony/booster-test-symfony`
233-
234- This prevents DDEV project name conflicts when testing multiple frameworks.
241+ The test script creates projects in:
242+ - Laravel: ` tests/laravel/booster-test `
243+ - Symfony: ` tests/symfony/booster-test `
235244
236245To clean up:
237246``` bash
238- # Automatic cleanup (specify framework)
247+ # Using Makefile (recommended)
248+ make test-clean
249+
250+ # Or using Python script directly
239251./test-integration.py clean laravel
240252./test-integration.py clean symfony
241253
242- # Manual cleanup example
243- cd tests/laravel/booster-test-laravel && ddev delete -y
244- rm -rf tests/laravel/booster-test-laravel
254+ # Manual cleanup example (if needed)
255+ cd tests/laravel/booster-test && ddev delete -y
256+ rm -rf tests/laravel/booster-test
245257```
246258
247259## Local Development Mode
@@ -253,5 +265,9 @@ For testing local changes to the booster before committing:
253265# Set these environment variables if needed:
254266export BOOSTER_LOCAL_DEV=1
255267export BOOSTER_LOCAL_PATH=" /path/to/booster"
256- ./test-integration.py full
268+
269+ # Run tests
270+ make test
271+ # or
272+ ./test-integration.py full laravel
257273```
0 commit comments