Skip to content

Commit

Permalink
initial test environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepchhapola committed Aug 13, 2015
1 parent 84e8050 commit ac0f26b
Show file tree
Hide file tree
Showing 28 changed files with 1,853 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@ build/Release
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

#Node Modules
node_modules

.idea/*

#bower components
bower_components
Empty file modified LICENSE
100644 → 100755
Empty file.
24 changes: 24 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "youtubePlugin",
"version": "0.0.0",
"dependencies": {
"jquery": "~2.1.4",
"angular": "~1.4.3",
"angular-mocks": "~1.4.3",
"angular-animate": "~1.4.3",
"angular-route": "~1.4.3",
"ng-file-upload": "~6.1.0",
"ng-file-upload-shim": "~6.1.0",
"tinymce": "~4.2.3",
"owlcarousel": "~1.3.2",
"angular-bootstrap": "~0.13.3"
},
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
Empty file modified control/content/index.html
100644 → 100755
Empty file.
Empty file modified control/design/index.html
100644 → 100755
Empty file.
Empty file modified control/settings/index.html
100644 → 100755
Empty file.
80 changes: 80 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
// Karma configuration
// Generated on Thu Aug 13 2015 16:15:08 GMT+0530 (IST)

module.exports = function (config) {
config.set({

// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',


// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],


// list of files / patterns to load in the browser
files: [
'./bower_components/jquery/dist/jquery.min.js',
'./bower_components/angular/angular.js',
'./bower_components/angular-animate/angular-animate.min.js',
'./bower_components/angular-route/angular-route.min.js',
'./bower_components/angular-bootstrap/ui-bootstrap.min.js',
'./bower_components/ng-file-upload/ng-file-upload.min.js',
'./bower_components/ng-file-upload/ng-file-upload-shim.min.js',
'./bower_components/owlcarousel/owl-carousel/owl.carousel.min.js',
'./bower_components/tinymce/tinymce.min.js',
'./bower_components/angular-mocks/angular-mocks.js',
'./control/**/*.js',
'./widget/**/*.js',
'.//**/*.js',
'test/**/*.spec.js'
],


// list of files to exclude
exclude: [],


// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {},

plugins: [
'karma-phantomjs-launcher',
'karma-jasmine',
'karma-junit-reporter'],

// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],


// web server port
port: 9876,


// enable / disable colors in the output (reporters and logs)
colors: true,


// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_INFO,


// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,


// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],


// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false
})
}
Empty file modified plugin.json
100644 → 100755
Empty file.
Empty file modified resources/README.md
100644 → 100755
Empty file.
Empty file modified resources/icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified resources/image.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ac0f26b

Please sign in to comment.