Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
98f98dfd
authored
2014-03-12 13:59:53 -0400
by
Parul Sharma
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
added command line functionality- can now specify which local browser to run tests
1 parent
9de9ca8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
5 deletions
Gruntfile.js
test/localkarma.conf.js
Gruntfile.js
View file @
98f98df
...
...
@@ -110,7 +110,6 @@ module.exports = function(grunt) {
},
karma
:
{
options
:
{
configFile
:
'test/karma.conf.js'
,
frameworks
:
[
'qunit'
]
},
...
...
@@ -120,9 +119,67 @@ module.exports = function(grunt) {
},
dev
:
{
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
browsers
:
[
'Chrome'
,
'Safari'
,
'Firefox'
,
'Opera'
,
'IE'
,
'PhantomJS'
,
'ChromeCanary'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
},
chromecanary
:
{
options
:
{
browsers
:
[
'ChromeCanary'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
phantomjs
:
{
options
:
{
browsers
:
[
'PhantomJS'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
opera
:
{
options
:
{
browsers
:
[
'Opera'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
chrome
:
{
options
:
{
browsers
:
[
'Chrome'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
safari
:
{
options
:
{
browsers
:
[
'Safari'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
firefox
:
{
options
:
{
browsers
:
[
'Firefox'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
ie
:
{
options
:
{
browsers
:
[
'IE'
],
configFile
:
'test/localkarma.conf.js'
,
autoWatch
:
true
}
},
ci
:
{
configFile
:
'test/karma.conf.js'
,
autoWatch
:
false
...
...
test/localkarma.conf.js
View file @
98f98df
...
...
@@ -26,8 +26,7 @@ module.exports = function(config) {
// - PhantomJS
// - IE (only Windows)
// Example usage:
browsers
:
[
'Chrome'
,
'Firefox'
,
'Safari'
],
// browsers: [],
// List of files / patterns to load in the browser
// Add any new src files to this list.
// If you add new unit tests, they will be picked up automatically by Karma,
...
...
Please
register
or
sign in
to post a comment