Wallaby supports lots of technologies, and we have a collection of sample projects with configuration files for different tools, frameworks and languages such as Jasmine, Mocha, QUnit, Jest, Webpack, Browserify, ES6 and ES7 via Babel, TypeScript and CoffeeScript, React and Angular, node.js, etc.
If some technology/framework is not listed, it doesn’t necessarily mean that it’s not supported. If you are not sure if it’s supported or how to configure it, please feel free to ask a question or create an issue in our repository.
Supported code editors
- WebStorm >= 9.0.3
- PhpStorm >= 8.0.2
- IntelliJ IDEA >= 14.0.2
- RubyMine >= 7.0.2
- PyCharm >= 4.0.4
- Visual Studio 2017
- Visual Studio 2019
- Visual Studio Code >= 0.10.0
Supported testing frameworks
By default, wallaby.js is using jasmine
for browser and mocha
for node. If you want to use another framework, you may specify it using the testFramework
property:
module.exports = function (wallaby) {
return {
files: [
'src/**/*.js'
],
tests: [
'test/**/*Spec.js'
],
testFramework: 'mocha'
};
};
The testFramework
property can have following values:
For browser:
jasmine@1.3.1
(for jasmine v1.3)jasmine@2.8.0
(for jasmine v2.x)jasmine
(for jasmine v3.x)jasmine@4.6.0
(for jasmine v4.x)jasmine@5.1.1
(for jasmine v5.x)mocha
(with any expectation framework of your choice)qunit
- suggest another framework/version
For node.js:
jest >= 0.4.3
(browser testing is enabled viajsdom
)vitest
node:test
mocha
(with any expectation framework of your choice)jasmine
ava
- suggest another framework/version
To find out how Wallaby enhances experience with your testing framework, check out the following comparison pages:
Sample projects with wallaby.js config and other wallaby.js recipes
- Simple calculator
- Node.js app testing
- Angular CLI (TypeScript and Webpack) generated project
- create-react-app –typescript without eject
- Jest with Snapshots and JSX plus the article
- Jest calculator
- esm config
- AngularJS 1.5 with Babel and Webpack
- Angular >=2 app with TypeScript and Webpack
- React.js and JSX
- Aurelia CLI wallaby config with TypeScript
- Aurelia CLI wallaby config with Babel
- Require.js app
- Vue.js + Webpack template
- ES6/ES7 via Babel compiler
- TypeScript support for browser and node
- TypeScript + Require.js support
- TypeScript 1.6 + JSX support
- TypeScript + Webpack support
- TypeScript + Babel
- TypeScript + Browserify + entry patterns
- CoffeeScript support for browser and node
- Webpack and ES6 modules via Babel
- React, JSX, Webpack and ES6 modules via Babel
- Browserify, Proxyquireify
- Jspm/System.js
- AVA
- AVA + ES6 modules
- AVA + TypeScript
- Gatsby Starter with Jest
- Power-assert with Babel and TypeScript
- Polymer/Web Components
- Mocha with chai-as-promised in browser
- mocha-sinon-chai for node
- Automatically sorting Angular 1.x files based on their dependencies
- Preprocessor to compile SASS/SCSS to CSS, plus React, JSX, Webpack and ES6 modules via Babel