[cse491] twill tests for pt 1 of the homework

C. Titus Brown ctb at msu.edu
Sun Nov 22 17:42:50 PST 2009


On Sun, Nov 22, 2009 at 08:33:13PM -0500, Phil Deschaine wrote:
> Hey Titus,
> 
> In the homework, you specify the following:
> 
> * Login validation should test that only the correct username/password combo
> can log in.
>  Account creation should create an account that can then lead to a
> successful login.
> *
> It seems like these kind of need to be in the same twill file.  That is,
> unless it's guaranteed that the tests will be run in a specific order when I
> run twill-sh -u http://adriatic.cse.msu.edu:55455/ meep-twill/*.twill
> 
> Is that okay\acceptable?  I know that, in general, tests should be
> completely independent of each other. BUT, in this case, the first test is,
> well, essentially a subset of the second test.  That is, you need to have an
> account FIRST in order even attempt logging in (successfully or
> unsuccessfully).

meep currently creates a default account; you could have the test use that...

--titus
-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list