snapframework / snap

Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
http://snapframework.com/
BSD 3-Clause "New" or "Revised" License
455 stars 68 forks source link

0.10: Updated code with the new Snaplet.Test and Auth.Handlers Tests #56

Closed adinapoli closed 11 years ago

adinapoli commented 11 years ago

Hi guys,

I think time has come, because I don't know if until the end of the year I will be able to keep the same pace (big relocation in progress). Here are the results of my dev effort of the last month or so: the new Snaplet.Test allows the programmer to test his Snaplet(s) with an easy interface, very similar to Snap.Test one.

I've used the same code I've developed to test Auth.Handlers. We have now 85% code coverage on that module, which is pretty good. I had to comment the markAuthFailLocketOut test (see bug report I've raised).

Thank you all and Doug for helping me with the code base :)

Cheers, A.

gregorycollins commented 11 years ago

Thanks for writing all of these tests!

mightybyte commented 11 years ago

Ok, I fixed most of these issues. The only ones left that I'm not sure about are the comment about evalHandler and throwing and the mutualExclusion one.