New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@bugbeater/import-tests

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

@bugbeater/import-tests

## Overview

latest
Source
npmnpm
Version
0.0.1-rc.9
Version published
Weekly downloads
3
-84.21%
Maintainers
2
Weekly downloads
 
Created
Source

@bugbeater/import-tests

Overview

This project...

Setup

  • Set the following environment variables (or use a .env file):
  • BUGBEATER_API_KEY: Your Bugbeater API key.
  • BUGBEATER_BASE_URL: The base URL of Bugbeater main API.
  • DEBUG: Set it to bugbeater:import:* to enable debug logging. Read more about debug.

    Note: you can pass environment variables into reporter through the reporter options instead of using environment variables. Reporter options take precedence over environment variables.

  • Use one of the following methods to import/update tests:

    npx @bugbeater/import-tests@latest -p playwright -m "tests/**/*.{test,spec}.js" -u
    
    package.json
    {
      "scripts": {
        "import:tests": "npx @bugbeater/import-tests@latest -p playwright -m \"tests/**/*.{test,spec}.js\" -u"
      }
    }
    

Package options:

  • -p, --provider*: The provider to import tests for. Supported platforms: playwright.

  • -m, --match*: The glob pattern to match test files. Default: tests/**/*.{test,spec}.js.

  • -t, --typescript: Use it if your tests are written in TypeScript. Default: false. Use with --match option to match TypeScript files instead of JavaScript files.

  • -u, --update-ids: If set, the tests will be updated with the Bugbeater test IDs after import. Default: false.

  • -r, --remove-ids: If set, the tests IDs will be removed from the tests. Default: false.

  • -h, --help: Print help.

    * - required option

License

This project is licensed under the terms of the license found in the LICENSE file.

FAQs

Package last updated on 24 Feb 2024

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