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
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
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.

~Thanks
Greg Bestland.

To unsubscribe from this group and stop receiving emails from it, send an email to python-driver-u...@lists.datastax.com.



--



To unsubscribe from this group and stop receiving emails from it, send an email to python-driver-u...@lists.datastax.com.



--


Kevin Deldycke

unread,
Oct 1, 2015, 7:02:19 AM10/1/15
to DataStax Python Driver for Apache Cassandra User Mailing List
I developed a crude in-memory CQLengine mocking 2 years ago. I might try to open-source it in the next few week if anybody's interested.
Reply all
Reply to author
Forward
0 new messages