[kforge-dev] Changeset [186]: Improved view test case class, refactored cookie methods into strategies, ...

37: Timeline admin at okfn.org
Wed Jun 20 00:38:29 UTC 2007


Improved view test case class, refactored cookie methods into strategies, then applied to create request object fixtures with only a cookie for a session created for the viewer named in concrete view test cases. This encapsulates the access control side of testing view classes and provides a single test case attribute ('viewerName') for configuration, making it very easy for the normally access controlled functionality of view classes to be developed test-first. See [ScanBooker?][1] tests for examples. 

    [1]: http://project.knowledgeforge.net/domainmodel/trac/wiki/ScanBooker

URL: http://project.knowledgeforge.net/domainmodel/trac/changeset/186




More information about the kforge-dev mailing list