-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from bluem-development/acceptance-test-setup
Acceptance test basics and makefile
- Loading branch information
Showing
12 changed files
with
2,898 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.DEFAULT_GOAL := help | ||
|
||
.PHONY: help | ||
help: | ||
@printf '\nTo run a task: make <task_name>\n' | ||
@printf '\nExamples:\n' | ||
@printf '\- make install\n' | ||
@printf '\- make test\n' | ||
@printf '\- make unit_test\n' | ||
@printf '\- make acceptance_test\n' | ||
@printf '\- make add_git_hooks\n' | ||
|
||
.PHONY: install | ||
install: | ||
composer install | ||
|
||
.PHONY: lint | ||
lint: | ||
./tools/php-cs-fixer/vendor/bin/php-cs-fixer check . | ||
|
||
.PHONY: lint_fix | ||
lint_fix: | ||
./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix . | ||
|
||
.PHONY: test | ||
test: unit_test acceptance_test | ||
|
||
.PHONY: unit_test | ||
unit_test: | ||
./vendor/bin/phpunit | ||
|
||
.PHONY: acceptance_test | ||
acceptance_test: | ||
php vendor/bin/codecept run --steps | ||
|
||
.PHONY: add_git_hooks | ||
add_git_hooks: | ||
sh ./scripts/add-git-hooks.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace: Tests | ||
support_namespace: Support | ||
paths: | ||
tests: tests | ||
output: tests/_output | ||
data: tests/Support/Data | ||
support: tests/Support | ||
envs: tests/_envs | ||
actor_suffix: Tester | ||
extensions: | ||
enabled: | ||
- Codeception\Extension\RunFailed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.