I searched a bit but didn't quite find something that I recognized as being what I'm looking for.
What are you doing to test the part of your application that deals directly with SQLAlchemy results, wehn it comes to mocking the behaviour of the result object? The background: I am developing an Importer application that reads from a database via SQLalchemy(again, via sqlsoup) and pushes the data into a REST API, after transforming the data structures. So I have to deal with complex results from sqlalchemy queries, and I want to build Tests to verify functionality - but I'm still a bit wondering how to do it. As the data is a bit complex, I've been wondering if I can directly save real DB query results simply into a file, but didn't yet figure how to do this, apart from transforming it completely to json, which then again is a bit complicated. I could manually create mocks behaving similar to the sqlalchemy result, but it could be a lot of work - as said, the structure is quite complex. I might also be thinking in a totally wrong directions - hints on this also welcome ;) Thanks in advance, Henning -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.