NiL
unread,Jul 6, 2011, 9:00:29 AM7/6/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to turbo...@googlegroups.com
hi all
I'm working on testing my app at the moment both testing the migration path (sqla migrate) and selenium clicking bot
one trouble I ran into is I can't run my functionnal tests against a postgres DB
the render of the data for a simple GET , generates a transaction BEGIN / SELECT .....
and no COMMIT, so the drop_all of the tear_down method waits forever for the lock to be released (IDLE in Transaction)
For the migration path, I now only the the models part (nosetests -e functional) against a DB that's been restored and migrated externally (jenkins prepares the DB), so far it's ok, but any feedback regarding the functionnal tests would be welcome.
My TG apps run concurrently with other service in production, so I introduced the use of selenium to check if everything works as expected.
Again jenkins lauches those tests
The firefow is launched in a xfvb on the CI server
What I'd like to achieve here
- get a screenshot if a test fails (I tried something with zope.events in the TestClasses, but to no success yet)
- establish test independence ( for now I consider a bulk restore of the DB between each test)
has anyone the same concerns at the moment ?
regards
NIL