If you’re using python, you might be interested in devicetest, a library for unit-testing of PyTango devices. It is based on the unittest python module and the tango -file option to run a server without database.
The github repo includes a README file and a demo directory, so that shoud be enough to get you started. I presented this project at the last Tango meeting, the slides can be found here.