Skip to main content

aitest

Project description

aitest

The aitest Command Line Interface is a unified tool to manage your aitest services.

Installing

To install this CLI tool you can run the below command for Linux

pip3 install aitest

To install this CLI tool you can run the below command for windows

pip install aitest

How to use

To see help text, you can run:

aitest --help
aitest <command> --help
aitest <command> <subcommand> --help

ex:
1) If you want help to understand aitest CLI, you can run the following command:
Input :

    aitest --help
    
output:

    Usage: aitest [OPTIONS] COMMAND [ARGS]...

    The  aitest  Command  Line  Interface is a unified tool to manage your aitest  services.

    To see help text, you can run:

   aitest --help

   aitest <command> --help

   aitest <command> <subcommand> --help

   Options:
       --help  Show this message and exit.

   Commands:
       configure  If this command is run with no arguments, you will be prompted...
       run        If this command is run with testrun id as an argument, aitest...
       status     If this command is run with testrun id as an argument, aitest...

2) If you want to know how configure command works , you can run the following command:
    Input:
    
        aitest configure --help
    
    Output:
    
    aitest configure [OPTIONS]

    If this command is run with no arguments, you will be prompted for configuration values such as your  aitest  APIKey.If your configure file
    does not  exist (the default location is ~/.aitest/configure), the aitest
    CLI will create it for you.To keep an existing value, hit enter when
    prompted for the value.


    To save the configurations , you can run below command:

    aitest configure

   Options:
      --help  Show this message and exit.

3) How to run aitest configure command?
    Input:

            aitest configure 

    Output:

            Enter APIkey:<For authentication we are using the Bearer token temporary. In Future we will use the Access key.>

    After this step key will bea store at the default location is ~/.aitest/configure.

Note : To access the aitest services using CLI commands you need to run aitest configure command first.

4) How to run aitest run command?:
    Input:
    
        aitest run ae96545a-79da-11ed-8d95-762fbb2b81b4

    Output:
    
    Enter github password: test

    Test created successfully
    Test Name : P_Demo_Test
    Test Run ID : 49d13c54-7ab3-11ed-8bb3-56752b95b6fb

 
        
5) How to run aitest status command?
    Input :

        aitest status ae96545a-79da-11ed-8d95-762fbb2b81b4

    Output:

        test status : completed

        chrome-104    test run result id: 3f7fd9d2-79db-11ed-899a-4e9b87be310a   status: pass   time taken: 248.08 secs
        chrome-104    test run result id: 3f8e9d82-79db-11ed-899a-4e9b87be310a   status: pass   time taken: 249.23 secs
        chrome-104    test run result id: 875bcfc2-79db-11ed-899a-4e9b87be310a   status: pass   time taken: 244.416 secs
        chrome-104    test run result id: 8769323e-79db-11ed-899a-4e9b87be310a   status: pass   time taken: 244.636 secs
        chrome-104    test run result id: afa26866-79da-11ed-899a-4e9b87be310a   status: pass   time taken: 245.386 secs
        chrome-104    test run result id: afbb8f1c-79da-11ed-899a-4e9b87be310a   status: pass   time taken: 247.679 secs
        chrome-104    test run result id: cf309d82-79db-11ed-899a-4e9b87be310a   status: pass   time taken: 243.275 secs
        chrome-104    test run result id: cf3d5bb2-79db-11ed-899a-4e9b87be310a   status: pass   time taken: 237.987 secs
        chrome-104    test run result id: f7ad10ca-79da-11ed-899a-4e9b87be310a   status: pass   time taken: 252.762 secs
        chrome-104    test run result id: f7bdb38a-79da-11ed-899a-4e9b87be310a   status: pass   time taken: 253.399 secs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aitest-cli-0.0.9.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

aitest_cli-0.0.9-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file aitest-cli-0.0.9.tar.gz.

File metadata

  • Download URL: aitest-cli-0.0.9.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for aitest-cli-0.0.9.tar.gz
Algorithm Hash digest
SHA256 fc4012102e4b0519b8487cc9a986f31e396c4f8029bbcefc717d7f6101eb3b45
MD5 33b7e97b806b01721e4e9e6223009741
BLAKE2b-256 467bc4c7e8e341b3c2b2cd7e25eef19d36c7e5e125a9d10dcb08b7fcd70bfc9d

See more details on using hashes here.

File details

Details for the file aitest_cli-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: aitest_cli-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for aitest_cli-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 076c73d0d265a13b2df831035a7c26ffe20d589730d31b43bb8df94693a3f4e6
MD5 5edb6a94268f02ded9a5371c6dfcb724
BLAKE2b-256 cf5b116f8e96d853eaa4bd52a8444c645b9a94960082f11b9ac840f0693b557f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page