-
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.
Refactoring the event store interface
- Loading branch information
1 parent
268bce3
commit 8b3f244
Showing
21 changed files
with
3,344 additions
and
987 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
DB_HOST=mysql-container | ||
DB_DATABASE=test | ||
DB_USER=root; | ||
DB_PASSWORD=changeme |
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 |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
/vendor/ | ||
/bin/ | ||
/.phpunit.cache/ | ||
infection.log | ||
.env | ||
|
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,34 @@ | ||
.DEFAULT_GOAL := help | ||
|
||
help: | ||
@echo "Available commands:" | ||
@echo " - run-tests: Run tests" | ||
@echo " - run-infection: Runs Infection mutation testing" | ||
@echo " - coverage-text: Runs coverage text" | ||
@echo " - coverage-html: Runs coverage html" | ||
@echo " - all: Runs CS-Fixer, CS-Checker, Static Analyser and Tests" | ||
@echo " - shell: Run shell" | ||
|
||
run-tests: | ||
@echo "Running tests" | ||
docker compose run php composer test | ||
|
||
run-infection: | ||
@echo "Running infection mutation testing" | ||
docker compose run php composer infection | ||
|
||
coverage-text: | ||
@echo "Running coverage text" | ||
docker compose run php composer test-coverage | ||
|
||
coverage-html: | ||
@echo "Running coverage text" | ||
docker compose run php composer test-coverage-html | ||
|
||
all: | ||
@echo "Running CS-Fixer, CS-Checker, Static Analyser and Tests" | ||
docker compose run php composer all | ||
|
||
shell: | ||
@echo "Running shell" | ||
docker compose run --service-ports --entrypoint /bin/bash php |
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.