Skip to content

Commit

Permalink
[TASK] Add existing tests to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Dec 20, 2024
1 parent 0ced423 commit dd1ed11
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,29 @@ ifeq ($(shell uname -s), Darwin)
docker-compose exec -u root php chown -R app:app /app/$(TYPO3_CACHE_DIR)/;
endif

## Test: PHP CS Fixer
test-phpcs:
echo "$(EMOJI_robot) Test: Start PHP CS Fixer tests"
docker-compose exec php composer test:php:cs

## Test: PHP Linter
test-phplint:
echo "$(EMOJI_robot) Test: Start PHP Linter tests"
docker-compose exec php composer test:php:lint

## Test: TypoScript Linter
test-tslint:
echo "$(EMOJI_robot) Test: Start TypoScript Linter tests"
docker-compose exec php composer test:ts:lint

## Test: Unit
test-unit:
echo "$(EMOJI_robot) Test: Start unit tests"
docker-compose exec php composer test:unit

## Run acceptance tests
test-acceptance: .selenium-start
echo "$(EMOJI_robot) Running acceptance tests"
echo "$(EMOJI_robot) Test: Start acceptance tests"
docker-compose exec php bash -c "\
sleep 2 && \
./.Build/bin/codecept clean && \
Expand Down

0 comments on commit dd1ed11

Please sign in to comment.