add test and ci setup and test locating views
Showing
- .travis.yml 23 additions, 0 deletions.travis.yml
- composer.json 8 additions, 1 deletioncomposer.json
- phpunit.xml 21 additions, 0 deletionsphpunit.xml
- src/ViewLocator.php 2 additions, 2 deletionssrc/ViewLocator.php
- tests/Locating/LocatingViewsTest.php 103 additions, 0 deletionstests/Locating/LocatingViewsTest.php
- tests/Printer.php 204 additions, 0 deletionstests/Printer.php
- tests/TestCase.php 29 additions, 0 deletionstests/TestCase.php
.travis.yml
0 → 100644
... | ... | @@ -10,6 +10,13 @@ |
} | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^7.4" | ||
"phpunit/phpunit": "^7.4", | ||
"mockery/mockery": "^1.2", | ||
"squizlabs/php_codesniffer": "^3.3" | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Syna\\Test\\": "tests" | ||
} | ||
} | ||
} |
phpunit.xml
0 → 100644
tests/Locating/LocatingViewsTest.php
0 → 100644
tests/Printer.php
0 → 100644
tests/TestCase.php
0 → 100644
Please register or sign in to comment