Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

Latest commit

 

History

History
25 lines (16 loc) · 540 Bytes

CONTRIBUTING.md

File metadata and controls

25 lines (16 loc) · 540 Bytes

CONTRIBUTING

ZF2 Mobile-Detect is 100% covered by tests. Travis-ci build failed if code coverage is not 100%.

RUNNING TESTS

To run tests:

  • Make sure you have a recent version of PHPUnit installed; 3.7.0 minimally.

  • Enter the tests/ subdirectory.

  • Execute PHPUnit

    % phpunit
  • You may also provide the --coverage-html switch;

    % phpunit --coverage-html ./_report

    This will generate code-coverage report witch can be displayed in a browser by opening tests/_report/index.html file