Skip to content

Commit

Permalink
dockerized, improved tests with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
geekcom committed Jul 25, 2018
1 parent e9d547e commit 2d77cfe
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/vendor
tests/PHPJasper/*.jasper
tests/*.jasper
tests/codeCoverage

# IDE
## Eclipse
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '2'
services:
php:
image: geekcom/phpjasper
container_name: phpjasper
volumes:
- .:/var/www/app
tty: true
7 changes: 6 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php"
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
Expand All @@ -21,4 +21,9 @@
<directory>tests</directory>
</testsuite>
</testsuites>

<logging>
<log type="coverage-html" target="tests/codeCoverage/html"
lowUpperBound="50" highLowerBound="80" charset="UTF-8"/>
</logging>
</phpunit>
File renamed without changes.
3 changes: 0 additions & 3 deletions tests/bootstrap.php

This file was deleted.

File renamed without changes.

0 comments on commit 2d77cfe

Please sign in to comment.