GithubHelp home page GithubHelp logo

isabella232 / testadvisor-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salesforce/testadvisor-cli

0.0 0.0 0.0 1.1 MB

License: BSD 3-Clause "New" or "Revised" License

Shell 0.26% Java 99.53% Batchfile 0.21%

testadvisor-cli's Introduction

TestAdvisor-CLI

TestAdvisor CLI is a command line tool to which response for process test result, upload test signals and download server signals. This tool will be triggered after test execution and test result generated in a separated process.

Command line usage

usage: TestAdvisor-CLI [-c <COMMAND>] [-f] [-h] [-n <result file name>] [-v]
A command line tool to process test results and manage TestAdvisor registry
 -c,--cmd <COMMAND>             TestAdvisor-CLI command,
                                Setup|Process|Upload|Download|Clean.
 -f,--force                     Force to run current command while ignore
                                TestAdvisor registry state.
 -h,--help                      Show TestAdvisor-CLI usage.
 -n,--name <result file name>   Test result file name.
 -v,--version                   Show TestAdvisor-CLI version.

Please report all issues to [email protected]

Supported command

  • setup
  • process
  • upload
  • download
  • clean

If path option was skipped, the client will first search registry root folder, which is defined in environment variable TESTADVISOR_REGISTRY. If not found, the client will use current folder to search.

If force option was provided, the client will ignore the previous command output and rerun the command anyway.

Setup

The setup command will setup TestAdvisor registry and connect to portal

Process

Process command will find all un-processed test result file recursively from the path, collect all client side signals and write back the signal file along with the test result file.

Upload

Upload command will upload all un-processed test signal files and saved record id if upload succeed.

Clean

Clean command will clean up local TestAdvisor registry

How to publish to Nexus

  1. mvn clean package This will ensure your module build and package correctly.
  2. mvn release:prepare This will prepare the release, more doc here: http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html You may choose your release version, the default will only a minor version upgrade.
  3. mvn release:perform This step will build/publish to nexus and also tag release on git repository, more doc here (http://maven.apache.org/maven-release/maven-release-plugin/examples/perform-release.html)
  4. mvn release:clean Cleans up your local env

Documenting a new release version

  1. Go to the Releases section
  2. Click on the "Draft a new release" button
  3. Enter the "tag version" and "Release title" value as testadvisor-cli-v0.1.<new-version>
  4. Write one or more sentences about the changes pushed (example) and publish the release.

testadvisor-cli's People

Contributors

yibingsf avatar gneumann2 avatar snyk-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.