Socket
Socket
Sign inDemoInstall

@testrtc/scripts-import-export

Package Overview
Dependencies
8
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @testrtc/scripts-import-export

Import/export testRTC tests to files and back


Version published
Weekly downloads
7
Maintainers
2
Install size
3.05 MB
Created
Weekly downloads
 

Readme

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

Last updated on 10 Mar 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc