Commit Graph

6 Commits

Author SHA1 Message Date
Pham-Tan-Thien c29bfb9c31 docs: standardize pro 3-step testing workflow and add SonarQube guide
- Update README.md with recommended 3-step decoupled workflow (audit -> batch write -> terminal run)
- Add docs/10-sonarqube-100-percent-coverage-guide.md covering line/branch coverage and Clover XML export
- Update /laravel-unit-test skill definition prioritizing decoupled batch generation
- Fix remote installer URLs to official Smartgift Git server

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-08 11:06:23 +07:00
Pham-Tan-Thien c8edce44ea fix: auto-install in empty or new directories without requiring --force
- Allow seamless 1-line curl installation in empty or newly created test folders
- Prevent early exit when target directory has 2 or fewer files
- Fix argument parsing for target directory and flags

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-08 09:17:38 +07:00
Pham-Tan-Thien 4da2d45af3 feat: configure public HTTPS installer URL for universal access
- Update install.sh to use public HTTPS git URL without requiring SSH credentials
- Update README.md with exact 1-line curl installer command for any developer
- Fix argument parsing for flags like --force

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-08 09:07:23 +07:00
Pham-Tan-Thien 3e1314a3e1 feat: make toolkit public and add remote 1-line installer
- Add remote web installer (install.sh) supporting curl | bash without cloning repo
- Remove team-specific wrappers and symlinks in favor of clean public install.sh
- Consolidate all usage and setup documentation directly into README.md
- Add open-source MIT License
- Streamline end-to-end testing workflow with 4-in-1 autopilot mode

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-08 08:57:50 +07:00
Pham-Tan-Thien 6fc49787a9 feat: add --all --run autopilot mode for instant write-and-test execution
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-07 16:45:45 +07:00
Pham-Tan-Thien 2045c856e9 feat: complete Smartgift AI Laravel unit testing toolkit
- Add 10 core testing guides (setup, AAA principles, PHPUnit/Pest, mocking, anti-patterns, PHP 8.4+, debugging, data factories, advanced edge cases)
- Add 13 component testing guides covering all Laravel layers
- Add standard templates for PHPUnit 10/11 and Pest v2/v3 including ArchitectureTest
- Add Docker smart test runner, dependency installer, and CI/CD templates (GitHub Actions, GitLab CI)
- Add 4 Claude Code skills (laravel-test-setup, laravel-unit-test with --all mode, laravel-test-review, laravel-mock-helper)
- Add single unified installer script (sg-install-unit-testing.sh) with global support, CLI runners, and 1-click updater (sg-test-update)
- Add comprehensive documentation (README.md, USAGE-GUIDE.md)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-07 16:41:37 +07:00