Testing #1536

Closed
jjaffeux opened this Issue Jun 26, 2012 · 0 comments

Projects

None yet

1 participant

@jjaffeux

Hi,

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 Jun 29, 2012
@dchill42 dchill42 added a commit to dchill42/CodeIgniter that referenced this issue Sep 24, 2012
@dchill42 dchill42 Make ENV config override standard config as in #1536
Signed-off-by: dchill42 <dchill42@gmail.com>
c0dd048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment