Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Testing #1536

Closed
jjaffeux opened this Issue · 0 comments

1 participant

Joffrey JAFFEUX
Joffrey JAFFEUX

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...

Joffrey JAFFEUX jjaffeux closed this
Darren Hill dchill42 referenced this issue from a commit in dchill42/CodeIgniter
Darren Hill 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
Something went wrong with that request. Please try again.