Skip to content

alloy/jest-runner-minitest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jest-Runner-Minitest

Build Status Maintainability Test Coverage

A Jest runner that can be used to run your Ruby minitest tests.

Example

Usage

Install

Install jest and jest-runner-minitest:

yarn add -D jest jest-runner-minitest

With NMP:

npm install --save-dev jest jest-runner-minitest

Add it to your project

Add the following to your package.json:

"jest": {
	"moduleFileExtensions": [
	  "rb"
	],
	"runner": "jest-runner-minitest",
	"testMatch": [
	  "**/?(*_)_test.rb"
	]
},

Or to your jest.config.js:

module.exports = {
  runner: "jest-runner-minitest",
  moduleFileExtensions: ["rb"],
  testMatch: ["**/?(*_)_test.rb"]
};

Then simply run Jest:

yarn test

Contribute

  1. Git clone the repository git clone git@github.com:pepibumur/jest-runner-minitest.git.
  2. Install dependencies yarn install.
  3. Run yarn dev. It'll automatically rebuild your changes.

vscode

If you are using vscode to work on this project, we'd recommend you to install the following extensions:

References

About

A Ruby minitest runner for Jest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published