0.0.3 • Published 9 years ago

bplt-itest v0.0.3

Weekly downloads
2
License
BSD
Repository
github
Last release
9 years ago

bplt-itest

Install globally with npm:

npm i -g bplt-itest

Usage

Usage:
    bplt-itest SRC [ -h | --help ]

Options:
    -h, --help              help for bplt-itest

Commands:

Arguments:
    SRC                     directory containing the module to be tested

What is it

This command creates a temporary docker container to test your npm modules. You can use it to test your modules on different node versions and to check whether dependencies are fully satisfied.

It performs the following steps:

  1. Copy a custom Dockerfile into your SRC directory
  2. Builds an image containing Node.js 10.x
  3. Copies the SRC directory into src and removes src/node_modules
  4. Executes npm install && npm test
  5. Removes the image

Prerequisites

On OSX, remember to run

> $(boot2docker shellinit)

in the same shell where you run the command.

Author

  • Vittorio Zaccaria

License

Copyright (c) 2015 Vittorio Zaccaria
Released under the BSD License.


This file was generated by verb-cli on March 23, 2015.