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...
Make ENV config override standard config as in #1536
Signed-off-by: dchill42 <email@example.com>