Fluent pluggable interface for easily wrapping describe, context, it, and specify blocks in Mocha tests.A mocha-wrap plugin is a named function that returns a MochaWrapper instance or a descriptor object.
https://github.com/airbnb/mocha-wrap#readmeTags | mocha mocha-tests mocha-wrap testing testing-tools tests javascript-tests test js chai before after beforeeach aftereach describe it wrap around around_filter mock stub |
Implementation | Javascript |
License | MIT |
Platform | NodeJS |
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.
gulpplugin mocha test testing unit framework runner tdd bdd qunit spec tapAn 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.
chimp mocha jasmine cucumber end-to-end-testing integration-testing ui-testing realtime-feedback continuous-integration quality simian meteor bdd atdd webdriverio selenium phantom testing saucelabsInstall 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...
minitest test-unit mock stub testingMocha 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.
test-framework test automation unit-testingChutzpah 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.
chutzpah visual-studio testing-tools tdd typescriptAriya 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.
phantomjs mocha test runner command-line browserand 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.
mocha electron electron-tool test testing tdd bdd browser browser-testingEmber Exam is an addon to allow you more control over how you run your tests when used in conjunction with Ember QUnit or Ember Mocha. It provides the ability to randomize, split, parallelize, and load-balance your test suite by adding a more robust CLI command. The documentation website contains examples and API information.
testing ember-cli ember mocha qunit ember-addonCodeceptJS 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.
selenium-webdriver protractor acceptance-testing end-to-end-testing pageobject bdd-style graphql-testing e2e-tests playwright testing testing-framework test-framework nodejs-testingBDD test framework for PHP, inspired by Jasmine and RSpec. Features a familiar syntax, and a watch command to automatically re-run specs during development. It can also be extended with custom matchers and reporters.Pho exposes a DSL for organizing and writing your tests, which includes the following functions: describe, context, it, before, after, beforeEach, afterEach and expect. Equivalent functions for disabling specs and suites also exist via xdescribe, xcontext and xit.
testing testing-tools bddVenus 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.
testingMust.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.
assert assertion bdd test testing rfc2119Just-API is a declarative, specification based test framework for REST, GraphQL APIs. Users can test APIs without writing code, but they can also tap into code when they want to. It reads API test specification from YAML files and runs them in serial/parallel mode. Test reports can be generated in several formats including HTML and JSON. To run just-api, you will need Node.js v7.10.0 or newer.
api automation webservice-test graphql-testing http-api-testing testing yaml graphql tests test-framework microservice-testing http rest webservice api-testing mocha test restful microservice testrunner qa testreporterBrowserifies ./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.
mocha test-runner phantomjs webdriver coverage browserify testing watchify headless chromium selenium saucelabs tddTo use within a node environment you can simply import or require the files directly. This option is great for phantomjs or CI environments. This project uses mocha as its test framework. Tests are located in /test and have 1 of 3 file name prefixes (functional-, issue-#, or unit-).
websockets mocking testing mock mocksocket socketsDisqus 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.
grunt-mocha grunt-plugins phantomjs grunt-task mocha test-runner testing test-automation gruntplugin testKarate is the only open-source tool to combine API test-automation, mocks, performance-testing and even UI automation into a single, unified framework. The BDD syntax popularized by Cucumber is language-neutral, and easy for even non-programmers. Assertions and HTML reports are built-in, and you can run tests in parallel for speed.
testing automation microservices webdriver bdd mock-server load-testing assertions test-automation gherkin cucumber developer-tools testing-tools api-testing contract-testing automated-testing testing-frameworkYeti 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.
yui yuitest tdd bdd test mocha doh jasmine qunitTrue is a unit-testing tool for Sass code – initially developed for the Susy layout toolkit. All of the test code is written in pure Sass, and can be compiled by any Sass compiler – but we also provide integration with Mocha JS, for extra features and improved reporting. True the wheels of a bicycle after striking a pothole.
unit-test test sass libsass tdd eyeglass-modulePhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG. It is an optimal solution for headless website testing. It run functional tests with frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others.
javascript-framework website-testing automation screen-capture testing framework headless-browser web-testing
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.