Skip to content

December 2019

Mock Cassandra (actually ScyllaDB) in C# unit tests

I have been lately working a lot with high throughput database called ScyllaDB. ScyllaDB is a Cassandra compatible, open source, nosql data store, which is accessed with Cassandra database drivers. It has higher throughput, lower latency and smaller memory footprint than Cassandra mainly because it is written in C++, not on top of JVM like Cassandra.

Unit testing classes that access database at somepoint can be a pain in the …