grunt-mocha - [MOVED] Grunt task for running mocha specs in a headless browser (PhantomJS)

  •        27

Disqus has adopted this project and npm module, visit https://github.com/disqus/grunt-mocha for further updates. This plugin requires Grunt ~0.4.0. Use a 0.1.x tag of this plugin to use with Grunt ~0.3.0.

https://github.com/kmiyashiro/grunt-mocha

Dependencies:

grunt-lib-phantomjs : ^1.0.2
lodash : ^3.9.0

Tags
Implementation
License
Platform

   




Related Projects

mochify.js - ☕️ TDD with Browserify, Mocha, Headless Chrome and WebDriver

  •    Javascript

Browserifies ./test/*.js, decorated with a Mocha test runner, runs it in Headless Chrome and passes the output back to your console. Cleans up your stack traces by mapping back to the original sources and removing lines from the test framework.For proxy settings and other environment variables, see the Puppeteer documentation.

Grunt - The JavaScript Task Runner

  •    Javascript

Grunt is a Javascript task runner. It automates work you have to do when performing repetitive tasks like minification, compilation, unit testing, linting, etc. The Grunt ecosystem is huge and it's growing every day. With literally hundreds of plugins to choose from.

mocha-phantomjs - :coffee: :ghost: Run client-side mocha tests in the command line through phantomjs

  •    Javascript

Ariya Hidayat archived phantomjs on March 3rd, 2018. (See this tweet for more info). phantomjs served us all as great headless browser for years, but now with Electron and headless modes for both Chrome and Firefox, we have much better options. mocha-chrome is a project inspired by mocha-phantomjs, so migration should be easy, and you will be running your tests on the same browser that 50% of your users actually use! I highly recommend it. I will accept pull requests still, but I won't be answering issues or doing feature work myself.

grunt-perfbudget - Grunt task for performance budgeting.

  •    Javascript

grunt-perfbudget is a Grunt.js task for enforcing a performance budget (more on performance budgets). It uses the wonderful webpagetest.org and the WebPagetest API Wrapper for NodeJS created by Marcel Duran. grunt-perfbudget uses either a public or private instance of WebPagetest to perform tests on a specified URL. It compares test results to budgets you specify. If the budget is met, the tasks successfully completes. If it the page exceeds your performance budgets, the task fails and informs you why.


grunt-contrib-jasmine - Run jasmine specs headlessly through PhantomJS.

  •    Javascript

Run this task with the grunt jasmine command. Automatically builds and maintains your spec runner and runs your tests headlessly through PhantomJS.

grunt-contrib-qunit - Run QUnit unit tests in a headless PhantomJS instance.

  •    Javascript

Run this task with the grunt qunit command. You have chosen to write your unit tests using QUnit, you have written a html page which reports the summary and indivudual details of your unit tests, you are happy with this but realize you miss the ability to have your unit test suite run automatically each time you commit changes to your code.

grunt-ts - A grunt task to manage your complete typescript development to production workflow

  •    Javascript

Grunt-ts is an npm package that handles TypeScript compilation work in GruntJS build scripts. It provides a Grunt-compatible wrapper for the tsc command-line compiler, and provides some additional functionality that improves the TypeScript development workflow. Grunt-ts supports compiling against tsconfig.json or even a Visual Studio project directly. Grunt-ts is itself written in TypeScript. Do you use grunt-ts? Would you like to help keep it up-to-date for new TypeScript versions? Please let @nycdotnet know.

Mocha - JavaScript Test Framework

  •    Javascript

Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.

grunt-email-workflow - A Grunt workflow for designing and testing responsive HTML email templates with SCSS

  •    CSS

Designing and testing emails is a pain. HTML tables, inline CSS, various devices and clients to test, and varying support for the latest web standards. This Grunt task helps simplify things.

gulp-mocha - Run Mocha tests

  •    Javascript

Keep in mind that this is just a thin wrapper around Mocha and your issue is most likely with Mocha.🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos. You might also like his React course.

grunt-browserify - Grunt task for node-browserify

  •    Javascript

Grunt task for node-browserify. This plugin requires Grunt ~0.4.0.

grunt-spritesmith - Grunt task for converting a set of images into a spritesheet and corresponding CSS variables

  •    Javascript

Grunt task for converting a set of images into a spritesheet and corresponding CSS variables. As of grunt-spritesmith@4.5.0, retina spritesheets/templates are supported. See the Retina parameters section for more information.

grunt - Grunt: The JavaScript Task Runner

  •    Javascript

Visit the gruntjs.com website for all the things. Before you make an issue, please read our Contributing guide.

grunt-ftp-deploy - Grunt task for code deployment over ftp

  •    Javascript

This is a grunt task for code deployment over the ftp protocol. This is why a grunt task like this would be very useful.

ava - Futuristic JavaScript test runner

  •    Javascript

Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, giving you even better performance and an isolated environment for each test file. Switching from Mocha to AVA in Pageres brought the test time down from 31 to 11 seconds. Having tests run concurrently forces you to write atomic tests, meaning tests don't depend on global state or the state of other tests, which is a great thing!

chutzpah - Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript

  •    Javascript

Chutzpah is an open source JavaScript test runner which enables you to run unit tests using QUnit, Jasmine, Mocha, CoffeeScript and TypeScript. For comments, praise, complaints you can reach me on twitter at @mmanela.

mocha - Mocha is a mocking and stubbing library for Ruby

  •    Ruby

Install the latest version of the gem with the following command... Note: If you are intending to use Mocha with Test::Unit or MiniTest, you should only setup Mocha after loading the relevant test library...

grunt-newer - Configure Grunt tasks to run with newer files only.

  •    Javascript

Configure Grunt tasks to run with newer files only. Synopsis: The newer task will configure another task to run with src files that are a) newer than the dest files or b) newer than the last successful run (if there are no dest files). See below for examples and more detail.

grunt-contrib-connect - Start a static web server.

  •    Javascript

Run this task with the grunt connect command. Note that this server only runs as long as grunt is running. Once grunt's tasks have completed, the web server stops. This behavior can be changed with the keepalive option, and can be enabled ad-hoc by running the task like grunt connect:keepalive.