Please look at this post for integration tests. The development of the Gallio AutoCAD extension seems to be stopped at AutoCAD 2013, so you'll have to make an upgrade yourself. The source code can be found here: https://github.com/Gallio/mbunit-v3/tree/master/src/Extensions/AutoCAD.
You can run some unit tests by setting your project output path to the installation directory of AutoCAD, but this approach is very limited and not very clean because you will pollute your AutoCAD installation.
The best approach is to find a way to integrate a test runner in AutoCAD. You can write your own runner/test framework like this one for Revit: https://github.com/DynamoDS/RevitTestFramework or use an existing framework like NUnit and make the test runner work in AutoCAD like this project, also for Revit: https://github.com/ArupAus/RvtUnit
It is not an easy task as you can see. And you need to start AutoCAD each time you want to run the test (you can speed up the process if you use AutoCAD Core Console however).
Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr