|
@@ -154,15 +154,19 @@ scheduler-log: ## Лог планировщика
|
|
|
$(compose) logs app-schedule -f
|
|
$(compose) logs app-schedule -f
|
|
|
|
|
|
|
|
test: ## Run tests
|
|
test: ## Run tests
|
|
|
|
|
+ $(application) php artisan config:clear
|
|
|
$(application) php artisan test
|
|
$(application) php artisan test
|
|
|
|
|
|
|
|
test-unit: ## Run unit tests only
|
|
test-unit: ## Run unit tests only
|
|
|
|
|
+ $(application) php artisan config:clear
|
|
|
$(application) php artisan test --testsuite=Unit
|
|
$(application) php artisan test --testsuite=Unit
|
|
|
|
|
|
|
|
test-feature: ## Run feature tests only
|
|
test-feature: ## Run feature tests only
|
|
|
|
|
+ $(application) php artisan config:clear
|
|
|
$(application) php artisan test --testsuite=Feature
|
|
$(application) php artisan test --testsuite=Feature
|
|
|
|
|
|
|
|
test-coverage: ## Run tests with coverage report (requires Xdebug or PCOV)
|
|
test-coverage: ## Run tests with coverage report (requires Xdebug or PCOV)
|
|
|
|
|
+ $(application) php artisan config:clear
|
|
|
$(application) php artisan test --coverage
|
|
$(application) php artisan test --coverage
|
|
|
|
|
|
|
|
test-setup: ## Create test database (crm_testing)
|
|
test-setup: ## Create test database (crm_testing)
|