first unit test and integration test

A quick test that the homepage works and that the login succeeds in three cases (failure, unconfirmed, and success).
On Thu, Jun 26, 2014 at 07:31:26AM -0700, Brian Grayless wrote:
> Necessary?

You wouldn't be asking if you spent an few hours debugging the tests too :P

When the other one failed, I wanted to know why it failed and that meant breaking it down into simpler pieces and testing them too... then after I figured it out (turns out i was using the wrong assert function) i decided to keep that there since it doesn't hurt and if a similar problem comes up again, we'll still know the basic thing works or doesn't work and can address it from there.

When writing D, once I write an assertion, unless it is just to dump data, I always keep it around. My view is you can never really have too many.