tapestry-cloud / tapestry

PHP static site generator using the plates template system
https://www.tapestry.cloud/
MIT License
32 stars 1 forks source link

Add test coverage to helpers.php #184

Closed carbontwelve closed 7 years ago

carbontwelve commented 7 years ago

There was a divide by zero bug that was caught by #183. Increase coverage to ensure there are no others hiding in plain sight.

carbontwelve commented 7 years ago

180 and #182 added some coverage indirectly

carbontwelve commented 7 years ago

Indirect testing has provided 60% coverage.

carbontwelve commented 7 years ago

Test coverage has been increased to cover all lines that can be tested with the exception of the debugging dd method which results in executing die().

This was implemented by 18a49ef5e49ca88398b0662a1d264dc399232167