3 ms·
> Anyone could sign in to anybody else's accounts using any passwords. This is a good test to write: create two users, and see if one can log in using the othe
by jrockway 13y ago
> Anyone could sign in to anybody else's accounts using any passwords.
This is a good test to write: create two users, and see if one can log in using the other's password. (There are lots of ways this could go wrong, not only by using a 0-length password.) Basically, if you don't want something to happen, write a test that fails when it does.