Crates.io | shelper |
lib.rs | shelper |
version | 0.1.4 |
source | src |
created_at | 2020-04-24 22:01:20.026605 |
updated_at | 2020-09-01 18:24:53.814415 |
description | Sauce Helper, CLI and lib for Sauce Labs API |
homepage | |
repository | https://github.com/mdsauce/shelper |
max_upload_size | |
id | 233803 |
size | 101,186 |
CLI wrapper and library for the Sauce Labs public API. Obtain Job details for specific jobs, builds. At the time of this writing a Job is: Virtual Desktop, iOS Simulator, or Android Emulator session. Real Device jobs coming in 2020.
cargo install shelper
This is the easiest installation method but you will need cargo
installed.
Cargo installs the binary from crates.io. To install cargo, copy-paste:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Accept the prompts and choose the Defaults.
Read more here: https://www.rust-lang.org/tools/install
cargo install shelper
To install and compile from source (or to develop):
cargo build --release
./target/release/shelper
shelper -h
or shelper --help
shelper --job <session-id> --job <session-id>
shelper -j <session-id> <session-id> <session-id>
shelper -j https://app.saucelabs.com/tests/<session-id>
cargo doc --open
: compile and run the documentation
cargo install
: install all the dependencies
cargo test
: run all tests
cargo test -- --nocapture some_test_name
: run a specific test & print all the stuff to stdout/stderr
Unit tests are not all 100% local. Real credentials are pulled from the env. variables in some cases. Real HTTP calls are made against the real API. Do not run tests endlessly as you could get rate limited with a 429.