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

@testrtc/scripts-import-export

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testrtc/scripts-import-export

Import/export testRTC tests to files and back

  • 1.0.7
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Scripts Import/Export with testRTC

Installation

Make sure you have Node Package Manager installed. ( https://www.npmjs.com/get-npm )

npm install --global @testrtc/scripts-import-export

Run

scripts-import-export scripts:pull --apikey=xxxx-xxxx-xxxx-xxxx --dir=testRTC

Pull tests and assets to local files

scripts-import-export scripts:pull

Push tests and assets to testRTC

scripts-import-export scripts:push

CLI Arguments

  1. API Key from testRTC project.

--apikey=<api_key>

If not provided, you'll be prompt for API key.

  1. Directory for saving scripts and assets.
    Also using for pushing back to testRTC.

--dir=<dir_name>

If not provided, ./data folder will be used.

Folder structure after pulling scripts

scripts-import-export scripts:pull
  • data/
    • tests/
      • metadata/
        • list of tests parsed to JSON...
      • list of test scripts...
    • assets/
      • metadata/
        • list of assets parsed to JSON...
      • list of assets code...

Possible issues

OS Linux scripts-import-export: command not found

Windows "scripts-import-export" is not an internal or external command, executable program, or batch file.

npm bin -g

Make sure result presented in PATH environment variables.

Guide for Windows users

Keywords

FAQs

Package last updated on 10 Mar 2021

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