2017 © Pedro Peláez
 

application visualphpunit

A PHPUnit GUI

image

visualphpunit/visualphpunit

A PHPUnit GUI

  • Friday, March 23, 2018
  • by localgod
  • Repository
  • 58 Watchers
  • 932 Stars
  • 3,305 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 151 Forks
  • 5 Open issues
  • 11 Versions
  • 18 % Grown

The README.md

Scrutinizer Code Quality Build Status Dependency Status Project Stats Minimum PHP Version codecov.io Version Eye PHPPackages Rank Sonar Cloud, (*1)

VisualPHPUnit

VisualPHPUnit is a visual front-end for PHPUnit., (*2)

Version 3.1.1 is the latest and greatest. Version 2.3.2 is also working just fine., (*3)

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., (*4)

Versions

Setup

On *nix, (*5)

  • Checkout or download VisualPHPUnit
  • Run make tools setup build

On Windows, (*6)

  • 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, (*7)

  • 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., (*8)

You can update ./vpu.json to add additional test suites., (*9)

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, (*10)

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., (*11)

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., (*12)

Running VPU in dev mode

Setup dependencies

On *nix, (*13)

  • Checkout or download VisualPHPUnit
  • Run make tools setup

On Windows, (*14)

  • 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., (*15)

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

You may read more about VisualPHPUnit here or in the wiki., (*16)

The Versions

23/03 2018
29/06 2017

3.x-dev

3.9999999.9999999.9999999-dev https://github.com/VisualPHPUnit/VisualPHPUnit

A PHPUnit GUI

  Sources   Download

BSD-3-Clause-Clear

The Requires

 

The Development Requires

  • ext-mbstring *

phpunit

11/06 2017
17/05 2016