Skip to content

Commit

Permalink
Merge pull request #59 from Philipp91/simplify
Browse files Browse the repository at this point in the history
Had to clean up changes that came from #46 that were merged after this #59 was created.
  • Loading branch information
rolinger authored Sep 7, 2024
2 parents 08c9db2 + 3c12cfd commit 33b97ba
Show file tree
Hide file tree
Showing 24 changed files with 681 additions and 671 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,27 @@ Before the first time you run them, you may need to run:
composer install
```

## Windows TESTING
For local Windows Testing, you will need to install xdebug and add
```php.ini
zend_extension=xdebug
xdebug.mode=coverage
```

and set composer.json scripts line to:
```
"scripts": {
"test": ["vendor/bin/phpunit -c phpunit.dist.xml"]
},
```

## xUX TESTING:
For local xUX or online github/codeforce testing, in composer.json set scripts line to:
```
"scripts": {
"test": ["XDEBUG_MODE=coverage vendor/bin/phpunit -c phpunit.dist.xml"]
},
```

## License
[MIT](LICENSE.md)
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"require": {
"php": ">= 7.3",
"ext-json": "*",
"guzzlehttp/guzzle": "^6.3 || ^7.0"
},
"require-dev": {
Expand All @@ -26,6 +27,9 @@
"php-coveralls/php-coveralls": "^2.5"
},
"scripts": {
"test": ["XDEBUG_MODE=coverage vendor/bin/phpunit -c phpunit.dist.xml"]
"test": ["vendor/bin/phpunit -c phpunit.dist.xml"]
},
"scripts-descriptions": {
"test" : "Set PHP.ini xdebug.mode=coverage (windows) OR set 'test':['XMODE_DEBUG=coverage vendor/bin/phpunit ...'] (linux)"
}
}
Loading

0 comments on commit 33b97ba

Please sign in to comment.