On 27 May 2006, at 13:52, Kevin Dangoor wrote:

> We could certainly make testing with identity easier. Just think of
> how you'd like the API to be in the ideal case... would you want to
> pass username/passwrod to create_request and have it basically log in
> and then perform the request under test?

That would work for me. Then I could create a sqlite test db with
my test data + username/password/group info and run my tests against
that.

My ideal API for testing would enable me to easily specify a separate
testing DB (maybe via a test.cfg file?) and then the tests would all run
against that with no further setup. Then I could distribute a testdb as
part of the app as a SQLite file.

Arthur

-- 
He's a stranger to freedom
He's shackled to his fears and doubts
- Mary Gauthier





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to turbogears@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to