Git Product home page Git Product logo

Comments (5)

NathanGibbs3 avatar NathanGibbs3 commented on August 30, 2024

Added a basic base_conf.php file in commit 49a7f4c
Got the file copy location fixed in commit f333b88
Not sure what the issue could be, as it's still not working.
https://travis-ci.com/NathanGibbs3/BASE/jobs/184396606

from base.

NathanGibbs3 avatar NathanGibbs3 commented on August 30, 2024

May be related to SSL support under PHP5.2x. More specifically the apparent lack thereof.
See: https://travis-ci.com/NathanGibbs3/BASE/jobs/197045705

from base.

NathanGibbs3 avatar NathanGibbs3 commented on August 30, 2024

Current sub Issues.

  • Package Installation.
    As PHP5.2 on travis-ci has no SSL support package installation broke when pear.php.net started using HTTPS by default.
    Solution: Manually script Package installation.
  • Test Run.
    Believe this is related to PHPUnit 3x. Need to research further.
  • Code Coverage.
    Related to XDebug extension not being enabled.
    Solution: Add custom config to Repo. and script it's installation into the environment.

from base.

NathanGibbs3 avatar NathanGibbs3 commented on August 30, 2024

PHPUnit 3.6x generates code coverage information for discovered files, by actually running the files through the xdebug extension. This is default behavior for this PHPUnit version.
This is equivalent to running newer PHPUnits with processUncoveredFilesFromWhitelist="true"
See: https://stackoverflow.com/questions/29041254/phpunit-coverage-what-is-the-difference-between-adduncoveredfilesfromwhitelist


Anyhow, this has the effect of running the code in unexpected conditions.
Assumptions in the code regarding expected infrastructure, execution paths, variable states, and inputs are being found.
Allowing us to fix the code to deal with these unexpected conditions gracefully.
The final result, a much more resilient code base. 😄

This is why

  • We test on all PHP x.y versions available in CI.
  • We do unit testing.

from base.

NathanGibbs3 avatar NathanGibbs3 commented on August 30, 2024

We've stopped chasing Issue #5 for now as we've hit a dead end in figuring out why it won't generate code coverage info in the default configuration.
Set these builds to use a custom phpunit config file with addUncoveredFilesFromWhitelist=false for now.

from base.

Related Issues (20)

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.