Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukewaite/gulp-phpunit-sample
https://github.com/lukewaite/gulp-phpunit-sample
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lukewaite/gulp-phpunit-sample
- Owner: lukewaite
- Created: 2015-12-12T22:17:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-12T22:25:30.000Z (about 9 years ago)
- Last Synced: 2023-04-01T13:58:35.848Z (almost 2 years ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gulp-phpunit-sample
> This is a repository is intended to provide a space to reproduce issue https://github.com/mikeerickson/gulp-phpunit/issues/30
## Issue
Due to the `! skip` test in [gulp-phpunit/index:205](https://github.com/mikeerickson/gulp-phpunit/blob/master/index.js#L205)
the testSuite option is not appended to the phpunit command when invoked.## Branches
Repository has two branches:
* `master`
* `fork`#### Don't forget to npm install between branches.
### Master Branch
The master branch uses the most recent tagged release of `gulp-phpunit`.### Fork Branch
The fork branch uses the [lukewaite/gulp-phpunit](https://github.com/lukewaite/gulp-phpunit) fork which has been
patched to not experience the issue.## Expected Behavior
The tests are divided into two test suites, `unit`, and `functional` which are defined in `phpunit.xml`.
Each suite contains a single test, `unit`s test will pass, and `functional`s test will fail.Running `gulp test:unit` should run a single test which will pass.
## Actual
Running `gulp test:unit` runs both unit and functional tests, and thus fails due to the failing test in the
`functional` suite.