https://github.com/megahertz/webunit
Yii 1 PHPUnit web interface
https://github.com/megahertz/webunit
Last synced: 11 months ago
JSON representation
Yii 1 PHPUnit web interface
- Host: GitHub
- URL: https://github.com/megahertz/webunit
- Owner: megahertz
- Created: 2013-07-09T02:00:15.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-02-15T16:22:15.000Z (over 10 years ago)
- Last Synced: 2025-07-04T22:22:58.061Z (11 months ago)
- Language: CSS
- Homepage:
- Size: 1.2 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
webunit
=======
The UI for using PHPUnit with Yii 1. It doesn't require the installed PHPUnit
Install
=======
1. Download [the webunit extension](https://github.com/megahertz/webunit/archive/v0.1.0.zip)
2. Extract to protected/extensions
3. Add extension to your application config
```php
...
'modules' => [
'gii' => [
...
],
'webunit' => [
'class' => 'ext.webunit.WebunitModule',
'password' => 'password',
'ipFilters' => ['127.0.0.1', '::1'],
'pathUnitTests' => 'application.tests.unit', // optional
'pathWebTests' => 'application.tests.functional' // optional
]
],
...
```
4. Go to the http://you-app.url/index.php?r=webunit
The original idea http://mattmueller.me/blog/phpunit-test-report-unit-testing-in-the-browser