Giter Club home page Giter Club logo

visualphpunit's Introduction

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's People

Contributors

localgod avatar nickwest avatar ismaestro avatar demos avatar randomsort avatar scrutinizer-auto-fixer avatar sylfabre avatar thib3113 avatar carusogabriel avatar whackashoe avatar adduc avatar ma-si avatar matthewmueller avatar silveriomiranda avatar kenjis avatar tohann avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.