@testrtc/scripts-import-export
v1.0.7
Published
Import/export testRTC tests to files and back
Downloads
6
Readme
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
- API Key from testRTC project.
--apikey=<api_key>
If not provided, you'll be prompt for API key.
- 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...
- metadata/
- assets/
- metadata/
- list of assets parsed to JSON...
- list of assets code...
- metadata/
- tests/
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