All Projects → mantoni → mocaccino.js

mantoni / mocaccino.js

Licence: MIT license
Mocha test runner as a Browserify plugin

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to mocaccino.js

browserify-test
An easy way to test front-end libraries using browserify and mocha
Stars: ✭ 37 (+68.18%)
Mutual labels:  browserify, mocha
Mochify.js
☕️ TDD with Browserify, Mocha, Headless Chrome and WebDriver
Stars: ✭ 338 (+1436.36%)
Mutual labels:  browserify, mocha
css-extract
Extract CSS from a browserify bundle
Stars: ✭ 46 (+109.09%)
Mutual labels:  browserify, browserify-plugin
Public
Repository for wallaby.js questions and issues
Stars: ✭ 662 (+2909.09%)
Mutual labels:  browserify, mocha
split-require
commonjs-first bundle splitting, for browserify
Stars: ✭ 80 (+263.64%)
Mutual labels:  browserify, browserify-plugin
browserify-bower
A browserify plugin, to enable you use bower components just like node modules
Stars: ✭ 20 (-9.09%)
Mutual labels:  browserify, browserify-plugin
instant-mocha
☕️ Build tests with Webpack and run with Mocha in one command
Stars: ✭ 39 (+77.27%)
Mutual labels:  mocha
titaniumifier
Get a Titanium™ SDK CommonJS module out of a Node package!
Stars: ✭ 95 (+331.82%)
Mutual labels:  browserify
titef
🌠 A tiny, lightning-fast, zero-dependecies JavaScript test framework 🌠
Stars: ✭ 19 (-13.64%)
Mutual labels:  mocha
gupack
基于gulp的前端构建工具
Stars: ✭ 13 (-40.91%)
Mutual labels:  browserify
fixturez
Easily create and maintain test fixtures in the file system
Stars: ✭ 57 (+159.09%)
Mutual labels:  mocha
generator-speedseed
Oriented to components, allow create/choice template, multiple configuration with easy maintenance
Stars: ✭ 13 (-40.91%)
Mutual labels:  mocha
license-key-gen
Generate license keys for given company details
Stars: ✭ 48 (+118.18%)
Mutual labels:  mocha
alexa-skill-test-framework
Framework for easy offline black-box testing of Alexa skills.
Stars: ✭ 64 (+190.91%)
Mutual labels:  mocha
torchjs
Test framework to light up the world.
Stars: ✭ 40 (+81.82%)
Mutual labels:  mocha
BotBlock.org
BotBlock - The List of Discord Bot Lists and Services
Stars: ✭ 29 (+31.82%)
Mutual labels:  mocha
fancy-test
extends mocha with helpful, chainable extensions
Stars: ✭ 47 (+113.64%)
Mutual labels:  mocha
cypress-slack-reporter
A home for various Cypress Plugins
Stars: ✭ 126 (+472.73%)
Mutual labels:  mocha
cypress-browserify-preprocessor
Cypress preprocessor for bundling JavaScript via browserify
Stars: ✭ 23 (+4.55%)
Mutual labels:  browserify
Telegraf-Test
Telegraf Test - Simple Test ToolKit of Telegram Bots
Stars: ✭ 22 (+0%)
Mutual labels:  mocha

mocaccino

Node.js CI SemVer License

Mocha test runner as a Browserify plugin.

Install

npm install mocaccino --save-dev

Real browser testing

This module is developed as part of Mochify which allows you to run tests with a headless browser, on a Selenium grid, in the cloud with SauceLabs or generates a standalone HTML page to run the tests. The underlying modules can also be used as Browserify plugins.

Code coverage with node

Use the Coverify transform and node:

$ browserify --bare -p [ mocaccino --node ] -t coverify test.js | node | coverify

Usage

Mocaccino is a browserify plugin:

browserify -p [ mocaccino OPTIONS ]

where OPTIONS are:

  --reporter, -R  Mocha reporter to use, defaults to "tap"
  --grep          Mocha grep option
  --fgrep         Mocha fgrep option
  --invert        Mocha invert option
  --timeout, -t   Mocha timeout in milliseconds to use, defaults to 2000
  --ui, -U        Mocha user interface to use, defaults to "bdd"
  --yields, -y    Yield every N milliseconds, defaults to 250
  --node          If result is used in node instead of a browser
  --windowWidth   Overrides the window width, defaults to the current shells
                  window width or fall back to 80
  --no-colors     Disable colors (overrides color support detection)
  --colors        Enable colors (overrides color support detection)
  --mochaPath     Path to custom Mocha module

The yields option causes a tiny delay every N milliseconds to allow pending I/O to happen. It's ignored if --node is given.

Compatibility

  • Node 12 or later
  • Browserify 5.9 or later (since version 1.0.0)
  • Browserify 4.x (before 1.0.0)

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].