ntf

Network Testing Framework

ntf

ntf is a network testing framework written in Node.js.

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

This work is licensed under the MIT License (see the LICENSE file).