Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Testing #1536

jjaffeux opened this Issue · 0 comments

1 participant



I've been trying to add tests to codeigniter, however I find it difficult to write good tests, and especially for classes that instantiate other classes in class methods. (for example in cart library : $this->CI->load->library('session', $config);)

May be it's my lack of knowledge on CI internals but if some of you could show me the path, or update the test readme it would be greatly appreciated.

I have done some things about it, but everything feel very hacky... And each time I'm asking me if I should update the class or hack more my test...

@jjaffeux jjaffeux closed this
@dchill42 dchill42 referenced this issue from a commit in dchill42/CodeIgniter
@dchill42 dchill42 Make ENV config override standard config as in #1536
Signed-off-by: dchill42 <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.