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

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/dZRtp_VQ0pkJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to