Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
AspectMock integration
kenjis
December 2013
I try to integrate AspectMock, not an ordinary PHP mocking framework, with FuelPHP.
https://github.com/Codeception/AspectMock
But it seems that I have to change some files to integrate it. Because AspectMock requires composer autoloader first and must load Fuel autoloader with the AspectMock method. See
bootstrap_phpunit.php
in the diff below.
https://gist.github.com/kenjis/7764670
I think if I could move "
Load in the Autoloader" code like above diff, I can integrate it if I only change
bootstrap_phpunit.php.
Dear Core Developers, do you accept the movement? Or is there something better solution?
Harro
December 2013
Accepted Answer
I've discussed it in the team, and we don't see any objections to changing the way the autoloaders are enabled.
I've made the required changes to the 1.8/develop codebase.
Obviously, we won't add your composer and phpunit_bootstrap changes, these are specific for your requirements and don't belong in the framework core.
kenjis
December 2013
Thank you.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
December 2013
kenjis
December 2013