View as Markdown
Test Engine

Minitest, Jest and Mocha plugins

Test Engine now has a Mergify plugin for Minitest, Jest and Mocha, and its setup page installs the plugin for every framework that has one.

A Minitest, Jest or Mocha suite used to reach Test Engine through a JUnit report: a reporter to add, a file to upload after each run, a scheduled job to rerun the tests for flaky detection, and no flaky test prevention on pull requests at all. The new plugins report straight from the test run, the way pytest-mergify, rspec-mergify and the Vitest and Playwright plugins already do, so these suites get quarantine, flaky detection and prevention with no JUnit file and no scheduled job.

  • Minitest: minitest-mergify, for Minitest 5.19 and later, Rails’ parallel tests included. See the Minitest docs.
  • Jest: @mergifyio/jest, wrapped around your Jest config with withMergify. See the Jest docs.
  • Mocha: @mergifyio/mocha, added to the require list of your Mocha config. See the Mocha docs.
  • Setup page: Test Engine’s setup lists the seven plugin frameworks first, and its Detection and Prevention prompts install the plugin for each of them, Playwright included. To get it, pick your framework on the Test Engine setup page and hand the prompt to your coding assistant, or follow your framework’s docs. There is nothing to turn on beyond installing the plugin.

Was this page helpful?