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

TDD assumes interfaces are defined already; how to cope?
RhinoMock : Mocks Vs StrictMocks Vs DynamicMocks
Ideas on how to TDD application that needs to retrieve user name from system environment
ATDD versus BDD and the proper use of a framework
Bizmonade - testing orchestration that receives ANY document
Selenium vs Celerity? [closed]
TDD and Code Coverage
Testing state in S#arp Architecture - Best practice
TDD System Under Test Creation Patterns (AutoFixture)
What is test-driven development? [duplicate]
Unit tests in TDD
Is Agile different from TDD ? If so what are the main differences?
What are the types of bugs test-driven development is most effective at catching?
TDD with Strategy Pattern
Is there a good place to discuss Test Driven Development?
TDD and UML together

Categories

HOME
maven
pandas
ionic-framework
cloud
netbeans
mockito
google-api-php-client
maven-3
graphql
icloud
alpha
pivotal-cloud-foundry
fancybox
contact
add
slurm
iggrid
zend-framework3
windows-server-2012
circuit
caml
serverless-framework
clojurescript
libtiff
solaris-10
scichart
nas
excel-2007
pass-by-reference
buildbot
fish
user-interaction
web-api-testing
maxmind
fluentvalidation
strncpy
functor
google-sites-2016
calibre
subset-sum
accelerate-framework
io-redirection
space-complexity
android-browser
twitch
theano.scan
webdriver-manager
splice
dynamic-reports
midl
apple-news
jquery-validate
hendrix
datastax-startup
integrity
lowpass-filter
recursive-datastructures
composite-key
google-perftools
webdriverjs
minimization
pycaffe
google-web-starter-kit
blackberry-10
make-install
ipconfig
asp.net5
unity-networking
maven-tomcat-plugin
cannon.js
tarjans-algorithm
map-projections
notify
inmobi
googlemock
zend-route
tld
fluentautomation
comexception
poller
cloud-connect
srs
mbr
gnu-smalltalk
ccss
listings
ril
pushbackinputstream
mt
bluepill
broken-links
frameset
onsubmit
reddot
semantic-diff
gnu-prolog
nsobject
google-friend-connect
web-architecture
temporal-database
text-coloring
scripting-languages

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App