panique / mini2

Just an extremely simple naked PHP application, useful for small projects and quick prototypes.
MIT License
417 stars 102 forks source link

[new feature] super-basic unit test integration #22

Closed panique closed 9 years ago

panique commented 10 years ago

Can somebody who's experienced with unit testing give infos about

  1. how to test the database connection
  2. how to properly pass the database connection to tested models/model methods
  3. how to restructure the project to make everything testable as possible
panique commented 9 years ago

That's too much for this little thing :)