tdd


Karma tests don't run


I am trying to execute a web app that I developed. The web app is hosted in Weblogic and has the following access URL:
http://localhost:7001/webapp/
The problem I have is that the test are not being executed, it is only popping up a Firefox window where I can see "Karma v0.12.28 - connected". This is my karma.conf.js file:
// Karma configuration
// Generated on Fri Mar 21 2014 15:43:33 GMT+0000 (GMT)
module.exports = function (config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: './',
// frameworks to use
frameworks: ['jasmine', 'requirejs'],
// list of files / patterns to load in the browser
files: [
{pattern: 'src/webapp/javascript-webapp/**/*.hb', included: false, watched: false, served: true},
{pattern: 'src/webapp/xsltforms/xsltforms.js', included: false, watched: false, served: true},
{pattern: 'src/webapp/xsltforms/utils/exsltforms/exsltforms.js', included: false, watched: false, served: true},
{pattern: 'src/webapp/xsltforms/utils/ckeditor/ckeditor.js', included: false, watched: false, served: true},
{pattern: 'src/webapp/javascript-webapp/**/*.js', included: false},
{pattern: 'src/webapp/test/jasmine-tests/**/*.js', included: false},
{pattern: 'src/webapp/test/jasmine-tests/fixtures/*.html', included: false},
'karma-main.js'
],
// list of files to exclude
exclude: [
//Broken Tests?
'src/webapp/test/jasmine-tests/form/jasmine.forms.js',
'src/webapp/test/jasmine-tests/stepeditor/jasmine.tabsview.js',
'src/webapp/test/jasmine-tests/mobile/jasmine.webapp.appcachelistener.js',
'src/webapp/test/jasmine-tests/jasmine.webapp.richtexteditorconfig.js',
'src/webapp/test/jasmine-tests/group/casenote/views/jasmine.casenoteeditordialogview.js'
],
preprocessors: {
'**/*.html': []
},
// test results reporter to use
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
reporters: ['progress', 'junit'],
junitReporter: {
outputFile: 'target/test-reports/jasmine-results.xml'
},
// web server port
//port: 9876,
port: 7001,
runnerPort: 9000,
// 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, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera (has to be installed with `npm install karma-opera-launcher`)
// - Safari (only Mac; has to be installed with `npm install karma-safari-launcher`)
// - PhantomJS
// - IE (only Windows; has to be installed with `npm install karma-ie-launcher`)
browsers: ['Firefox'],
// If browser does not capture in given timeout [ms], kill it
captureTimeout: 600000,
// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun: false
});
};
Any hint?
Thanks.

Related Links

How to convince a client that all next projects/enhancements should be done via TDD (with some agile practices)?
TDD - How to write test case for a method that as Assembly.LoadFrom(…)
How to practice TDD on a web app?
junit - share a fixture between testcase
How to use TDD correctly to implement a numerical method?
What is Best for Defect Rate Tracking? Defects per KLOC?
TDD with IronPython [closed]
Gallio Icarus vs. Testdriven.net [closed]
Can we come up with a better name for TDD?
TDD in an large project: How do you get started?
How do I get sufficient detail in planning and estimation when using TDD?
What design models to create before TDD?
BDD/TDD: can dependencies be a behavior?
What is the best description of TDD? [closed]
TDD and development time
When stop testing using TDD?

Categories

HOME
atom-editor
c#-4.0
ngrx
comparison
smarty
sd-card
bpmn
youtube-dl
sqlite-net-extensions
setup-deployment
yarn
paw-app
jgroups
angular-ui-bootstrap
windows-server
ravendb
wamp
uber-api
slick-slider
cloudkit
facebook-php-sdk
adobe-analytics
fancybox-3
dax
task
clearcase-ucm
systemc
telephony
contextmenu
nodatime
swiftlint
reverse-proxy
sylius
google-search-api
facebook-access-token
uninstall
fgetcsv
windows-error-reporting
bpel
skia
lightswitch-2013
sql-server-2012-express
kendo-ui-grid
gammu
mapbox-gl
force-layout
fusionpbx
file-format
retina-display
swift3.0.2
abstract-class
impersonation
unobtrusive-validation
angularjs-factory
lumberjack
gzipstream
ruby-on-rails-3.1
sql-server-agent
texmaker
password-encryption
gpx
convertapi
prolog-setof
worksheet
blogengine.net
tizen-native-app
recursive-datastructures
zendesk-app
arrow-keys
hittest
lync-client-sdk
eventkit
objective-c-swift-bridge
xcb
google-feed-api
slicknav
skobbler-maps
sdf
independentsoft
jms2
python-3.2
qdialog
citrus-pay
0xdbe
unity3d-gui
tween
qpainter
device-manager
rdl
bitcoinj
project-planning
reactfx
viadeo
openlaszlo
mcts
xsockets.net
quartz-graphics
dbconnection
django-nonrel
anonymous-methods
onsubmit
bubble-chart
dotnethighcharts
spring-portlet-mvc
custom-backend
window-management
deobfuscation
blackberry-playbook
locate
jmock
bespin
photoshop-cs4
putchar

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App