New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

appveyor-mocha

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appveyor-mocha

Logging mocha test results to AppVeyor

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
decreased by-20.83%
Maintainers
1
Weekly downloads
 
Created
Source

appveyor-mocha

Logging mocha test results to AppVeyor.

When mocha is run under AppVeyor reports test results (including stack trace in case of error) via AppVeyor Worker API.

In addition, arbitrary text can be logged.

When mocha is not run inside AppVeyor, this package does nothing.

Installation

npm install --save-dev appveyor-mocha

Then add two lines to test/mocha.opts:

--require appveyor-mocha
--no-exit

To post message to AppVeyor from your tests, say:

appveyor = require('appveyor-mocha');

//...

appveyor.message(someMessage);
appveyor.log(anotherMessage); // console.log + appveyor.message

Keywords

FAQs

Package last updated on 19 Dec 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