Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hermione-test-repeater

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermione-test-repeater

Plugin for repeat tests the specified number of times

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
increased by72.73%
Maintainers
2
Weekly downloads
 
Created
Source

hermione-test-repeater

NPM version Build Status

Plugin for hermione to repeat tests the specified number of times.

You can read more about hermione plugins here.

Installation

npm install hermione-test-repeater

Usage

Plugin has following configuration:

  • enabled (optional) Boolean – enable/disable the plugin. true by default;
  • repeat (optional) Number – how many times tests should be repeated regardless of the result. 0 by default;
  • minRepeat (optional) Number - minimum limit of repeat count. 0 by default;
  • maxRepeat (optional) Number - maximum limit of repeat count. Infinity by default;
  • uniqSession (optional) Boolean - run each test in a unique session. true by default.

Also there is ability to override plugin parameters by CLI options or environment variables (see configparser). Use hermione_test_repeater prefix for the environment variables and --test-repeater- for the cli options.

For example you can override repeat option like so:

$ hermione_test_repeater_repeat=5 npx hermione
$ npx hermione --test-repeater-repeat 5

Add plugin to your hermione config file:

module.exports = {
    // ...
    plugins: {
        'hermione-test-repeater': {
            enabled: true,
            repeat: 50,
            minRepeat: 10,
            maxRepeat: 100,
            uniqSession: true
        },
    },
    // ...
};

Additional options

Additional options that are added to the hermione.

repeat

Option that adds ability to set repeat count in more convenient way.

Example of usage:

npx hermione --repeat 5

Keywords

FAQs

Package last updated on 13 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc