Skip to content

Commit

Permalink
Set up testing environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyslik committed Sep 7, 2016
1 parent f3a5128 commit d43ec1e
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 21 deletions.
53 changes: 32 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
{
"name": "kyslik/column-sortable",
"description": "Package for handling column sorting in Laravel 5.1, 5.2 and 5.3",
"keywords": ["sortable", "sorting", "column", "laravel", "one-to-one"],
"license": "MIT",
"authors": [
{
"name": "Martin Kiesel",
"email": "martinkiesel@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"Illuminate/Support": "5.1.* || 5.2.* || 5.3.*",
"Illuminate/Database": "5.1.* || 5.2.* || 5.3.*"
},
"autoload": {
"psr-4": {
"Kyslik\\ColumnSortable\\": "src/ColumnSortable/"
}
},
"minimum-stability": "dev"
"name": "kyslik/column-sortable",
"description": "Package for handling column sorting in Laravel 5.1, 5.2 and 5.3",
"keywords": [
"sortable",
"sorting",
"column",
"sort",
"laravel",
"one-to-one"
],
"license": "MIT",
"authors": [
{
"name": "Martin Kiesel",
"email": "martinkiesel@gmail.com"
}
],
"require": {
"php": ">=5.6.4",
"Illuminate/Support": "^5",
"Illuminate/Database": "^5"
},
"require-dev": {
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~5.0"
},
"autoload": {
"psr-4": {
"Kyslik\\ColumnSortable\\": "src/ColumnSortable/"
}
},
"minimum-stability": "stable"
}
23 changes: 23 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/ColumnSortable/</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit d43ec1e

Please sign in to comment.