Hi
I’m new to meteor and I’m trying to do some unit and integration tests for my client and server code,
but I’m facing some problems that I can’t solve.
I have created 4 fake tests to just see if velocity recognize them
tests
├── acceptance
│ └── a list of acceptance tests using Chimp..
│
└── jasmine
├── client
│ ├── integration
│ │ └── ciSpec.js
│ └── unit
│ └── cuSpec.js
└── server
├── integration
│ └── siSpec.js
└── unit
└── suSpec.js
my problems:
-I only see that Velocity access to client integration and unti test, server integration tests , but I don’t see server unit tests
-some times I get this error:
W20160325-14:56:09.086(1)? (STDERR) [sanjo:karma]: start request failed { [Error: connect ECONNREFUSED] W20160325-14:56:09.086(1)? (STDERR) code: 'ECONNREFUSED', W20160325-14:56:09.086(1)? (STDERR) errno: 'ECONNREFUSED', W20160325-14:56:09.086(1)? (STDERR) syscall: 'connect' }
and I always get the same error when I try to use JASMINE_BROWSER=PhantomJS
-server and client unit tests takes forever
I’m using METEOR@1.2.1
with this list of packages:
aldeed:autoform 5.8.1 Easily create forms with automatic …
aldeed:collection2 2.9.1 Automatic validation of insert and …
blaze-html-templates 1.0.1 Compile HTML templates into reactiv…
ecmascript 0.1.6* Compiler plugin that supports ES201…
es5-shim 4.1.14 Shims and polyfills to improve ECM…
fortawesome:fontawesome 4.5.0 Font Awesome (official): 500+ scala…
fourseven:scss 3.4.1 Style with attitude. Sass and SCSS …
jquery 1.11.4 Manipulate the DOM using CSS selec…
kadira:flow-router 2.10.1* Carefully Designed Client Side Rou…
kadira:react-layout 1.5.3 Layout Manager for React with SSR S…
meteor-base 1.0.1 Packages that every Meteor app needs
mobile-experience 1.0.1 Packages for a great mobile user ex…
mongo 1.1.3 Adaptor for using MongoDB and Minim…
mouse0270:bootstrap-notify 3.1.3 Turns standard Bootstrap alerts int…
poetic:react-autoform-material-ui 0.1.2_1 Render your Autoform, using Mater…
react 0.14.3* Everything you need to use React w…
sanjo:jasmine 0.21.0 Velocity integration of the Jasmin…
session 1.1.1 Session variable
standard-minifiers 1.0.2 Standard minifiers used with Meteor…
tracker 1.0.9 Dependency tracker to allow reactiv…
twbs:bootstrap 3.3.6 The most popular front-end framewor…
velocity:html-reporter 0.9.1 Reactive Velocity test reports in y…
xolvio:backdoor 0.1.2 Runs arbitrary code on server
xolvio:cleaner 0.2.0 Gives you methods to clear your Mon…
I’m very grateful for any help.