0.12.0 • Published 12 years ago
ntf v0.12.0
ntf
ntf is a network testing framework written in Node.js.
Usage
Install ntf
npm install ntf
Add node_modules to your path
export PATH="./node_modules/.bin:$PATH"
Create a file named silas.sewell.org.js
var ntf = require('ntf')
, test = ntf.http('http://silas.sewell.org')
exports.homepage = test.get('/', function(test) {
test.statusCode(200)
test.body('Silas Sewell')
test.done()
})
Run the tests
ntf silas.sewell.org.js
License
This work is licensed under the MIT License (see the LICENSE file).