0.3.11 • Published 8 years ago
guide-automation v0.3.11
guide-automation
A helper library for writing scripts to run through guides. Allows you to build an application and test it along the way.
Install
npm install guide-automation
Usage
guide-automation consists of helpers for testing parts of guides, as well as a queue to make sure tests are written in order. A typical usage looks like:
var guide = require("guide-automation")();
guide.step("Install donejs", function(){
return guide.runCommand("npm", "install donejs -g".split(" "));
});
guide.step("Start donejs develop", function(){
process.chdir("donejs-chat");
var child = this.canServe = guide.executeCommand("donejs", ["develop"]).childProcess;
var server = streamWhen(child.stdout, /can-serve starting on/);
var liveReload = streamWhen(child.stderr, /Live-reload server/);
return Promise.all([server, liveReload]);
});
guide.test(function(){
return guide.nodeTest(__dirname + "/steps/3-donejs-develop/test.js");
});
API
License
MIT
0.3.11
8 years ago
0.3.10
8 years ago
0.3.9
8 years ago
0.3.8
8 years ago
0.3.7
8 years ago
0.3.6
8 years ago
0.3.5
8 years ago
0.3.4
8 years ago
0.3.3
9 years ago
0.3.2
9 years ago
0.3.1
9 years ago
0.3.0
9 years ago
0.2.6
9 years ago
0.2.5
9 years ago
0.2.3
9 years ago
0.2.2
9 years ago
0.2.1
9 years ago
0.2.0
9 years ago
0.1.14
9 years ago
0.1.13
9 years ago
0.1.12
9 years ago
0.1.11
9 years ago
0.1.10
9 years ago
0.1.9
9 years ago
0.1.8
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.3
9 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago
0.0.5
10 years ago
0.0.4
10 years ago
0.0.3
10 years ago
0.0.2
10 years ago
0.0.1
10 years ago