vows Questions

32

Solved

I'm having some problems installing vows via npm in zsh. Here's what I get. I tried installing it with and without the -g option. Do you have any idea what's wrong here? [❤ ~/Desktop/sauce-node-dem...
Boles asked 5/10, 2012 at 10:2

6

Solved

I'm using Node.js with felixge's node-mysql client. I am not using an ORM. I'm testing with Vows and want to be able to mock my database, possibly using Sinon. Since I don't really have a DAL per ...
Allegorize asked 5/12, 2011 at 17:16

2

Solved

Does anyone know how to test Mongoose Validations? Example, I have the following Schema (as an example): var UserAccount = new Schema({ user_name : { type: String, required: true, lowercase: t...
Peasant asked 10/2, 2012 at 3:39

1

Solved

I spent some time debugging a strange infinite loop problem in a NodeJS testsuite. It only happens under rare conditions but I can reproduce it when I attach to the chrome debugger. I think it has...
Homogeneous asked 26/5, 2014 at 20:5

3

Solved

I'm using Vows.js to test some node.js which is creating records in a database. As a result of this it creates some test records in the database. I'd like to remove these records once the tests hav...
Menhaden asked 15/8, 2011 at 12:43

1

Solved

I am playing around and learning about vows with a personal project. This is a small client side library, with testing done in vows. Therefore, I must build and test a file that is written like thi...
Camden asked 22/7, 2012 at 16:40

2

Solved

I'm trying to decide whether to switch from Vows to Mocha for a large Node app. I've enjoyed almost all of the Vows experience - but there is just something strange about the argument passing. I a...
Maniple asked 13/2, 2012 at 10:44

3

Solved

I could really do with some advice on testing a RESTful api I created in node.js. There are a plethora of frameworks out there and I am at a loss. My testing knowledge isn't good enough generally w...
Duplicature asked 19/8, 2011 at 20:47

1

Solved

I have an express server which I am testing using vows. I want to run the server from within the vows test suite, so that I dont need to have it running in the background in order for the test suit...
Titrant asked 17/8, 2011 at 11:12

2

Solved

I'm having a doozie of a time trying to get a basic http test to work with vows. I think I've followed the async example from vows http://vowsjs.org/#-writing-asynchronous-tests and substitued the...
Deemphasize asked 10/6, 2011 at 20:51
1

© 2022 - 2024 — McMap. All rights reserved.