In-memory Cassandra db for Python driver object mapper 'cqlengine'
220 views
Skip to first unread message
Swati
unread,
Sep 30, 2015, 9:36:16 AM9/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DataStax Python Driver for Apache Cassandra User Mailing List
Hi,
I am using Python driver's object-mapper 'cqlengine' for interacting with Cassandra db. I was looking for in-memory implementation of the same, for performing unit testing. Please advice how to go ahead about it, any libraries to use and any examples.
Thanks, Swati
Greg Bestland
unread,
Sep 30, 2015, 10:19:49 AM9/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-dr...@lists.datastax.com
Swati,
I'm afraid I don't know of anything that would meet those exact requirements. Typically we use a combination of the python mock libraries, and CCM for our testing. Using the mock libraries might be a bit of work but it will likely give you your best results for unit testing. Using ccm will be easier to get going with, but we use it more for integration testing. The ccm git repo is located here https://github.com/pcmanus/ccm.