VisualPHPUnit

A PHPUnit GUI.

Scrutinizer Code Quality
Build Status
Dependency Status
Project Stats
Minimum PHP Version
codecov.io
Version Eye
PHPPackages Rank
Sonar Cloud

VisualPHPUnit

VisualPHPUnit is a visual front-end for PHPUnit.

Version 3.1.1 is the latest and greatest.
Version 2.3.2 is also working just fine.

VisualPHPUnit is not php 7 compatible at this time due to the way phpunit is utilized. Php 7 will be supported in the next major release.

Versions

Setup

On *nix

  • Checkout or download VisualPHPUnit
  • Run make tools setup build

On Windows

  • Checkout or download VisualPHPUnit
  • Run php -r "readfile('https://getcomposer.org/installer');", php.
  • Run ./composer.phar install to install php dependencies
  • Run npm install to install node tools
  • Run mklink grunt .\node_modules\grunt-cli\bin\grunt
  • Run mklink bower .\node_modules\bower\bin\bower
  • Run bower install to install javascript dependencies
  • Run grunt build to build frontend

To run

  • Run ./bin/vpu -c vpu.json -s to start VisualPHPUnit with the build-in php server.
  • Run ./bin/vpu -c vpu.json -t to stop VisualPHPUnit with the build-in php server.

You may browse localhost:8000 to access the test suites.

You can update ./vpu.json to add additional test suites.

You may run tests from the console like this ./bin/vpu -c vpu.json testfile.php. You may append -a to archive your test results. You may append --help for options

Development

Frontend

The frontend is a single-page javascript application (SPA) based on Angularjs and Bootstrap. You will need Node.js, Npm, Grunt and Bower to build the frontend.

Backend

The backend is a REST application based on Silex. You will need Composer to install relevant dependencies.You need php >=5.6 to run VisualPHPUnit.

Running VPU in dev mode

Setup dependencies

On *nix

  • Checkout or download VisualPHPUnit
  • Run make tools setup

On Windows

  • Checkout or download VisualPHPUnit
  • Run php -r "readfile('https://getcomposer.org/installer');", php.
  • Run ./composer.phar install to install php dependencies
  • Run npm install to install node tools
  • Run bower install to install javascript dependencies

Start VPU in dev mode

You need two consoles for this setup, one for the frontend and one for the backend.

cd backend
php -S localhost:8001
cd ../app
grunt serve

You may read more about VisualPHPUnit here or in the wiki.

主要指標

概覽
名稱與所有者VisualPHPUnit/VisualPHPUnit
主編程語言PHP
編程語言PHP (語言數: 6)
平台
許可證Other
所有者活动
創建於2011-03-17 18:00:05
推送於2025-04-03 07:55:06
最后一次提交2018-03-23 11:31:48
發布數26
最新版本名稱v3.1.1 (發布於 )
第一版名稱v1.0 (發布於 2011-04-06 13:49:45)
用户参与
星數0.9k
關注者數61
派生數134
提交數406
已啟用問題?
問題數131
打開的問題數9
拉請求數43
打開的拉請求數0
關閉的拉請求數21
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?