php-encryption icon indicating copy to clipboard operation
php-encryption copied to clipboard

Add option to speed up the tests. Fix #400

Open NicolasCARPi opened this issue 6 years ago • 2 comments

  • Check if first argument of test.sh is a file instead of its existence
  • Add "fast" argument to skip test in "@group slow"
  • Small fixes to the bash scripts (quotes, syntax, failsafe)
  • Add CONTRIBUTING.md file with instructions for tests and syntax fixing

On my 4 GHz CPU, this brings the tests from 109 seconds down to 63 seconds.

NicolasCARPi avatar Jun 02 '19 19:06 NicolasCARPi

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.12%. Comparing base (62a8c16) to head (fcfa409). Report is 72 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #442   +/-   ##
=========================================
  Coverage     89.12%   89.12%           
  Complexity      206      206           
=========================================
  Files             9        9           
  Lines           929      929           
=========================================
  Hits            828      828           
  Misses          101      101           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 17 '19 21:10 codecov[bot]

Hello,

I pushed some commits to address your comments and fix the conflict.

NicolasCARPi avatar Dec 17 '19 12:12 NicolasCARPi