Unit tests for ionic

Yes. I was finally able to execute unit tests using karma.
It took me a while to configure it properly though.
I defined a test folder, inside this folder I defined conf.js project with the following definitions:

frameworks: ['jasmine'],

files: [
   '../www/lib/ionic/js/angular/angular.js',
   '../www/lib/ionic/js/angular/angular-animate.js',
   '../www/lib/ionic/js/angular/angular-resource.js',
   '../www/lib/ionic/js/angular/angular-sanitize.js',
   '../www/lib/ionic/js/angular/angular-mock.js',
   '../www/lib/ionic/js/angular-ui/angular-ui-router.js',
   '../www/js/bootstrap-custom/ui-bootstrap-custom-0.10.0.js',
   '../www/lib/ionic/js/ionic.js',
   '../www/lib/ionic/js/ionic-angular.js',
   '../www/js/*.js',
   'myFirstSpec.js',
   'mySecondSpec.js',
   'myThirdSpec.js'
],

plugins: [
   'karma-chrome-launcher',
   'karma-jasmine'
],

Your list of files may look a bit different, depend what are you dependencies.
Notice you need to install also the 2 plugins defined above.

Look for some tutorials, such as this one:

http://www.tuesdaydeveloper.com/2013/06/angularjs-testing-with-karma-and-jasmine/

for more info.