Re: Reducing redundancy in tests, logged-in vs. not-logged-in

2015-11-16 Thread Carl Meyer
Hi Tim, On 11/16/2015 01:35 PM, Tim Chase wrote: > Are there best practices for writing tests where every case has a > "not logged in" and a "logged in" pairing? I'm finding myself writing > too much redundant test-code where the only difference is whether the > user is anonymous (and thus the te

Reducing redundancy in tests, logged-in vs. not-logged-in

2015-11-16 Thread Tim Chase
Are there best practices for writing tests where every case has a "not logged in" and a "logged in" pairing? I'm finding myself writing too much redundant test-code where the only difference is whether the user is anonymous (and thus the test should fail) or logged in with appropriate rights (and