text: var tests = [];
  for (var file in window.__karma__.files) {
      if (/Test\.js$/.test(file)) {
      tests.push(file);
      }
  }
  console.log("Test files loaded: "+tests.length+ ' Files');
  requirejs.config({
  // Karma serves files from '/base'
  baseUrl: '/base/development',
  paths: {
      jquery: 'common/lib/jquery-1.11.0.min',
      angular: 'common/lib/angular/angular',
      angularmock: 'common/lib/angular/angular-mocks',
      angularRoute: 'common/lib/angular/angular-route',
      bootstrap:'common/lib/bootstrap/js/bootstrap',
      framework: 'common/framework',
      util: 'common/util',
      Widget: 'common/framework/Widget',
      LoadComponent: 'common/framework/LoadComponent',
      uibootstraptpl:"common/lib/bootstrap/js/ui-bootstrap-tpls-0.12.0.min",
      uibootstrap:"common/lib/bootstrap/js/ui-bootstrap-0.12.0.min",
      angularbootstrap:"common/lib/angular-bootstrap/ui-bootstrap.min",
      angularbootstraptpls:"common/lib/angular-bootstrap/ui-bootstrap-tpls.min"
  },
      shim: {
          'angular': {'exports': 'angular'},
          'angularRoute': ['angular'],
          'angularbootstrap':['angular'],
          'angularbootstraptpls':['angularbootstrap'],
          'bootstrap':{
              deps: ['jquery'],
              exports: 'bootstrap'
          }
      },//,
  
  // ask Require.js to load these files (all our tests)
  //deps: tests
  
  // start test run, once Require.js is done
  });
  
      require(['angular','framework/Class','framework/Base','framework/Helper'], function (a,c,Base,helper) {
          Clazz.config = conffile;
          helper.configRequireJs(conffile,function() {
              require(['framework/App','angularmock'], function (App) {
                  Clazz.config.test = true;
                  require(['framework/Routes'], function (Routes) {
                      /* Bootstrap main Module - created by App.js file*/
                      console.log("Lib loaded");
                      require(['framework/LoadDefaultComponents','uibootstrap','uibootstraptpl','angularbootstrap','angularbootstraptpls'],function(LoadDefaultComponents){
                          LoadDefaultComponents.initContainer();
                          require(tests, function () {
                              window.__karma__.start();
                          });
                      });
                  });
  
              });
          });
      });
  
  