1.0.1 • Published 11 years ago

test.it-nodejs v1.0.1

Weekly downloads
2
License
-
Repository
github
Last release
11 years ago

test.it-nodejs

node.js output module for test.it framework

Install

  • First: install framework and output module

    ```bash

    npm install 'test.it' npm install 'test.it-nodejs'

    ```
    
    **Hint:** *you can use [`-g`](https://npmjs.org/doc/install.html) flag to install them globally*
  • Second: add core of framework and output module, set it as default printer

    ```javascript

    test = require('test.it'); nodeConsole = require('test.it-nodejs'); test.printer(nodeConsole);

    ```
    btw you can use this construction:
    ```javascript

    (test = require('test.it')).printer(require('test.it-nodejs'));

    ```
    
    **Info:** *Output module is not required! You can use test.it without any output at all.*

Example

console