Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serverless-unittest-boilerplate

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-unittest-boilerplate

Serverless plugin

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

serverless

Serverless UnitTest Boilerplate

Overview

This module is Serverless Framework plugin. Create UnitTest boilerplate in a Serverless Project. Generated .travis.yml and tests/all.js.

Install

Execute npm install in your Serverless project.

$ npm install serverless-unittest-boilerplate

Add the plugin to your s-project.json file

"plugins": [
  "serverless-unittest-boilerplate"
]

Add the scripts to pakage.json file

"scripts": {
    "test": "export NODE_PATH=`npm root -g` && mocha tests/all"
}

Install mocha and chai. Run command below;

$ npm install chai --save-dev
$ npm install mocha --save-dev

Usage

Run command below.

$ serverless test scaffold

Sample Screen

The screen is succeed to build in travis

Keywords

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc