PHP Test Tooling and RFC Roundup with Joe Watkins
In this weeks episode we are joined by Joe Watkins for a long overdue catchup. We start off the show by discussing what Sandboxing is and the new Sandbox extension he has developed. From here, we touch upon test-doubles/mocking frameworks, the reasoning behind building uopz in the past, and now componere/mimus to aid in testing. This leads us on to highlight what test coverage is, the history of coverage tooling within PHP, and the new exciting pcov extension he has released. Finally, we do a big ol’ RFC roundup, discussing RFCs that have been accepted for PHP 7.4 (FFI, Typed Properties and Preloading) and ones under discussion (JIT and Weak References).
Show Links
- Boxes of Sand
- krakjoe/sandbox - A sandbox environment for PHP 7.1+
- Faking It
- krakjoe/uopz - User Operations for Zend
- krakjoe/componere - Complex Type Composition and Manipulation
- krakjoe/mimus - mocking framework as light as a bird
- Running for Coverage
- krakjoe/pcov - PCOV - CodeCoverage compatible driver for PHP
- krakjoe/pcov-clobber - Run PCOV in versions of PHPUnit before 8, if you must
- PHP RFC - FFI (Foreign Function Interface)
- PHP RFC - Typed Properties 2.0
- PHP RFC - Preloading
- PHP RFC - JIT
- PHP RFC - Weak References