jest-runner-minitest
v0.2.0
Published
A Jest runner that runs Ruby minitest tests
Readme
Jest-Runner-Minitest
A Jest runner that can be used to run your Ruby minitest tests.
Usage
Install
Install jest and jest-runner-minitest:
yarn add -D jest jest-runner-minitestWith NMP:
npm install --save-dev jest jest-runner-minitestAdd 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 testContribute
- Git clone the repository
git clone [email protected]:pepibumur/jest-runner-minitest.git. - Install dependencies
yarn install. - 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:
