简体   繁体   中英

Paypal PHP SDK Functionality of .coveralls.yml

I have downloaded https://github.com/paypal/PayPal-PHP-SDK

https://github.com/paypal/PayPal-PHP-SDK/blob/master/.coveralls.yml

# .coveralls.yml configuration

# for php-coveralls
src_dir: lib
coverage_clover: build/coverage/clover.xml
json_path: build/coverage/coveralls-upload.json

What is actual functionality of .coveralls.yml file? What is meaning of PHP Code Coverage or Coveralls?

The answer is on the Coveralls home page:

We help you deliver code confidently by showing which parts of your code aren't covered by your test suite.

The .coveralls.yml is the configuration file used when determining the percentage of code covered by the tests of the PayPal-PHP-SDK package. Sometimes you have to exclude some code, you have to define where the output goes and in which format, you do that in such a configuration file and keep it with your code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM