vows
Vows with Async nested topics - scope problem
I want my vow to have access to outerDocs and innerDocs from my topics but it doesn\'t. \'ASYNC TOPIC\': {[详细]
2023-04-08 09:31 分类:问答Querying DOM of a Backbone.js app with Zombie.js
Just trying out Zombie.js for the first time today, and I\'m having trouble visiting a page that populates DOM elements via javascript (specifically, a Backbone.js app).As a quick example, I visited t[详细]
2023-04-04 12:55 分类:问答How to use a different reporter with Vows' run() method?
Vows has a run() method that runs the test under node开发者_开发技巧, without using the vows command.[详细]
2023-04-02 03:09 分类:问答Vows.js - Number of args this.callback returns to topic versus vow
From the vows site: \"When this.callback is called, it passes on the arguments it received to the tes开发者_开发百科t functions, one by one, as if the values were returned by the topic function itself[详细]
2023-04-01 23:54 分类:问答Vows.js: Accessing parameters returned from outer topics inside inner topics
I was wondering if there is any way to obtain the return value of an outer topic, from within a test of an inner topic. If that was confusing, here\'s an example:[详细]
2023-04-01 21:20 分类:问答Node.js testing RESTful API (vows.js?)
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 lo开发者_StackOverflow社区ss. My testing knowledge isn\'t g[详细]
2023-03-29 15:33 分类:问答What is the correct way to launch your server from vows for testing?
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 suite t[详细]
2023-03-28 21:36 分类:问答How to run cleanup with vows.js?
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开发者_如何学JAVA in the database. I\'d like to remove these records on[详细]
2023-03-27 23:23 分类:问答REST API testing using vows, tobi and node.js
I am trying to combine the examples here, here to write a vows test for my node.js / express app that:[详细]
2023-03-25 22:07 分类:问答Async testing with vows using the http.get library in Node.js
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[详细]
2023-03-12 16:16 分类:问答