feat: decouple Laravel and CakePHP installers, remove SonarQube artifacts, and enforce complete unit testing standards
- Decouple framework installation: add install-laravel.sh and install-cakephp.sh, isolate skills and docs per framework, and auto-clean leftover artifacts - Remove all SonarQube configs, templates, and references - Enforce comprehensive test completeness: 100% public methods, edge cases, full branch coverage, exception paths, and state assertions - Replace all placeholder assertions in PHPUnit and Pest templates with full realistic implementations - Rename and update 10-comprehensive-test-coverage-guide.md
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
# ==============================================================================
|
||||
# SonarQube Configuration for CakePHP Unit Testing (> 90% Coverage Target)
|
||||
# ==============================================================================
|
||||
|
||||
sonar.projectKey=cakephp-app
|
||||
sonar.projectName=CakePHP Application
|
||||
sonar.projectVersion=1.0
|
||||
|
||||
# Đường dẫn nguồn và test
|
||||
sonar.sources=src
|
||||
sonar.tests=tests
|
||||
|
||||
# Báo cáo Code Coverage sinh ra từ PHPUnit / bin/cake test app
|
||||
sonar.php.coverage.reportPaths=coverage.xml
|
||||
sonar.php.tests.reportPath=phpunit-report.xml
|
||||
|
||||
# Inclusions: Tập trung đo độ phủ các tầng nghiệp vụ cốt lõi
|
||||
sonar.coverage.inclusions=src/Model/Table/**,src/Model/Entity/**,src/Controller/**,src/Service/**,src/Command/**,src/Controller/Component/**,src/Middleware/**,src/Mailer/**,src/Form/**,src/Model/Behavior/**,src/View/Helper/**
|
||||
|
||||
# Exclusions: Loại trừ framework boilerplate, console installer, configs để đảm bảo Coverage > 90%
|
||||
sonar.coverage.exclusions=src/Console/Installer.php,src/Application.php,src/View/AppView.php,config/**,bin/**,plugins/**,tests/**,templates/**
|
||||
sonar.cpd.exclusions=tests/**
|
||||
Reference in New Issue
Block a user