FAQ - Is there an embedded version of Aerospike for use in unit testing?
When unit testing application code that may be used with Aerospike it could be useful to have an embedded version of Aerospike. Does such an embedded version exist?
Aerospike is more than a single library and is sufficiently complex that an embedded version or mock framework is not availabe. It would, in essence, be a re-implementation of the server code. For testing code in this manner Aerospike suggests running an Aerospike server within a container, for example via Docker, or in a Vagrant box. Refer to the Aerospike Download page for download links.
AEROSPIKE CODE UNIT TEST EMBEDDED MOCK FRAMEWORK