Skip to content

v0.3.0

Choose a tag to compare

@niden niden released this 29 Jun 18:11
7b15e57

Changed

  • AbstractUnitTestCase::setUp() now resets the default Phalcon DI for per-test isolation.
  • The functional base is split into FunctionalTrait (actions) and FunctionalAssertionsTrait (assertions)
  • The containerized dev/test environment now covers PHP 8.1-8.5 for both Phalcon variants (v5 C extension, v6 the phalcon/phalcon package) built via PIE, with database readiness handled by Docker Compose service healthchecks. #4

Added

  • AbstractBrowserTestCase / BrowserTrait / BrowserAssertionsTrait: in-process browser testing (navigation, forms, CSRF, redirect-following, session continuity, cookie jar) built on symfony/browser-kit + symfony/dom-crawler. #4
  • Browser\Client: an in-process symfony/browser-kit client that dispatches requests directly into the Phalcon application without an HTTP server. #4
  • Exceptions\ElementNotFound. #4
  • CONTRIBUTING.md with Docker-based development and testing instructions. #4

Fixed

  • ServicesTrait now detects an unreachable Memcached backend via getStats() (treating false or an all-empty stats array as unavailable) instead of getVersion(), so the Memcached helpers skip reliably when the server is down. #4

Removed

  • bin/docker-entrypoint.sh and bin/wait-for-db, superseded by Docker Compose service healthchecks and a keepalive container CMD. #4