Self-Initializing Fakes in PHP
Testing becomes difficult when you consider objects at the boundary of a system: databases, web services, and other integration nightmares. What we usually do is adopting some specialization of the Hexagonal architecture, where the application defines a series of ports where adapters can be plugged into. The internals of the application only depends on the ports interfaces,
Want to have your say? just login


Be first to show your opinion !!!