-
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 tests and the EventStoreInterface (#2)
- Loading branch information
1 parent
c44ff53
commit ac563a0
Showing
23 changed files
with
3,475 additions
and
1,033 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
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
.idea | ||
/vendor/ | ||
/bin/ | ||
/tmp/ | ||
/.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.