Skip to content

Commit de0d7fd

Browse files
committed
Adding real tests.
1 parent 09439c4 commit de0d7fd

File tree

6 files changed

+1572
-265
lines changed

6 files changed

+1572
-265
lines changed

circle.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ dependencies:
66
override:
77
- composer install --dev --no-progress --no-interaction --prefer-dist
88

9+
post:
10+
- mkdir -p $CIRCLE_TEST_REPORTS/phpunit
11+
12+
test:
13+
override:
14+
- ./vendor/bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml
15+
916
deployment:
1017
production:
1118
branch: master

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
"autoload": {
1313
"psr-4": {
14-
"AmsterdamPHP\\Console\\": ["src/"]
14+
"AmsterdamPHP\\Console\\": ["src/", "tests/"]
1515
}
1616
},
1717
"require-dev": {
18-
"deployer/deployer": "^3.3"
18+
"deployer/deployer": "^3.3",
19+
"phpunit/phpunit": "^5.3",
20+
"mockery/mockery": "^0.9.5"
1921
}
2022
}

0 commit comments

Comments
 (0)