electron-mocha - Run Mocha tests in Electron

  •        157

and then electron will be added to your path. Or, you can download a version from https://github.com/atom/electron/releases and then set an environment variable ELECTRON_PATH pointing to the binary. Note if you're using Mac OS X, the path would be to the actual executable and not the app directory e.g. /Applications/Electron.app/Contents/MacOS/Electron.You should probably just install electron-prebuilt as it simplifies things.

https://github.com/jprichardson/electron-mocha#readme

Dependencies:

commander : ^2.11.0
electron-window : ^0.8.0
fs-extra : ^4.0.2
mocha : ^4.0.1
which : ^1.3.0

Tags
Implementation
License
Platform

   




Related Projects

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.

mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser

  •    Javascript

Become a backer and show your support to our open source project. Does your company use Mocha? Ask your manager or marketing team if your company would be interested in supporting our project. Support will allow the maintainers to dedicate more time for maintenance and new features for everyone. Also, your company's logo will show on GitHub and on our site - who doesn't want a little extra exposure? Here's the info.

CodeceptJS - Supercharged End 2 End Testing Framework for NodeJS

  •    Javascript

CodeceptJS is a new testing framework for end-to-end testing with WebDriver (or others). It abstracts browser interaction to simple steps that are written from a user perspective. It is synchronous where you don't need to care about callbacks, or promises, test scenarios are linear. Run your tests via Playwright, WebDriver, Puppeteer, TestCafe, Protractor, Appium. The code is the same.

bozon - Scaffold, Run, Test and Package Electron application with ease

  •    CoffeeScript

Bozon is a single tool for handling different tasks being performed by multiple packages, which is used for building desktop applications with Electron. Simplify building, compiling, running, testing, and packaging your application. Bozon tool should be installed globally in order to be used for all your electron apps.

electron-vue - An Electron & Vue

  •    Javascript

The boilerplate for making electron applications built with vue (pretty much what it sounds like). The aim of this project is to remove the need of manually setting up electron apps using vue. electron-vue takes advantage of vue-cli for scaffolding, webpack with vue-loader, electron-packager or electron-builder, and some of the most used plugins like vue-router, vuex, and so much more.


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.

venus.js - where bugs go to die

  •    Javascript

Venus is a testing tool for JavaScript (JS), which simplifies running unit tests. When you are developing a browser-based project in JS, you'll want to create unit tests and run them frequently. Typically, you'll write a unit test using some library, such as Mocha or Jasmine. These libraries let you define testcases (or "specs" if you are following a BDD style), and provide APIs for writing assertions. You may also include some DOM elements for your test to interact with, or for the testing library to display results.

yeti - Yeti automates browser testing.

  •    Javascript

Yeti automates tests written for various test frameworks. Yeti scales from your dev box (where it works by itself) to your CI system (where it launches browsers with Selenium) without changing your existing tests. You can use any of these test frameworks with Yeti.

niffy - Perceptual diffing suite built on Nightmare

  •    Javascript

You can look at test/index.js as an example for how to use Niffy. To run the example test just do make test after cloning this repo. Niffy is built on Nightmare and used in combination with Mocha. You'll also need to read and use both of those library's APIs to use niffy effectively.

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.

GoConvey - Go testing in the browser. Integrates with go test. Write behavioral tests in Go.

  •    Go

GoConvey is a yummy Go testing tool for gophers. Works with go test. Use it in the terminal or browser according to your viewing pleasure.

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

  •    Javascript

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.

zuul - multi-framework javascript browser testing

  •    Javascript

Zuul is an easy way to test your javascript in browsers. Start testing your code in seconds locally and move to cloud based browsers seamlessly for better coverage. Zuul is different than other cross browser test runners in its simplicity and ability to easily run your test suite in many browsers without having them installed locally. It lets you iterate quickly during development and provide good browser coverage before release without worrying about missing a supported browser.

js-must - An assertion library for JavaScript and Node

  •    Javascript

Must.js is a testing and assertion library for JavaScript and Node.js with a friendly BDD syntax (awesome.must.be.true()). It ships with many expressive matchers and is test runner and framework agnostic. Follows RFC 2119 with its use of MUST. Good and well testsed stuff. For those new to testing JavaScript on Node.js, you'll also need a test framework (also called a test-runner or a harness) to run your tests. One such tool is Mocha.

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.

chimp - Develop acceptance tests & end-to-end tests with realtime feedback

  •    Javascript

An awesome developer-centric experience to writing tests with realtime feedback using Mocha, Jasmine or Cucumber.js. Chimp can be used with any technology stack as it allows your to write your test automation in the language of the web: JavaScript.

chai - BDD / TDD assertion framework for node

  •    Javascript

Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. For more information or to download plugins, view the documentation.

electron-forge - A complete tool for creating, publishing, and installing modern Electron applications

  •    TypeScript

A complete tool for building modern Electron applications. Electron Forge unifies the existing (and well maintained) build tools for Electron development into a simple, easy to use package so that anyone can jump right in to Electron development.

electrino - Desktop runtime for apps built on web technologies, using the system's own web browser engine

  •    Objective-C

A desktop runtime for apps built on web technologies, using the system's own web browser engine. Electrino is an experimental featherweight alternative to the popular and powerful Electron. It implements a minuscule portion of the APIs available in Electron, but the output app size is much smaller.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.