Skip to main content

A CLI tool for initializing and generating output.

Project description

Kenny's Testing Step Generate

This is a CLI that should generate testing steps.

Installation

Simply run pip install testing-step-generator. This was designed using Python 3.11, so you should probably have that installed.

If you don't have python installed, I highly recommend using pyenv, and for this you would want to set your global python to 3.11

Commands

init

You need to run this init command, using tsg init before you do anything. This will prompt you to enter your OpenAi API key, which you can get once you make an OpenAi develop account. Follow their guide

This will save the API key in the .tsg directory in your root.

generate

Run using tsg generate from the branch of your project you want to get testing steps for. By default this will comapre it against the master branch. However, you can specify a branch with -b or --branch, e.g., tsg generate --branch other_branch

Building and deploying (for me)

So that I don't forget how I did all of this.

To test the cli locally, use pip install -e . which will build it for you. Then you can get rid of it with pip uninstall testing-step-generator

To build it, use python -m build

To upload it to TestPyPi for testing:

twine upload --repository testpypi dist/*

Then to upload it to the real deal:

twine upload dist/*

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

testing_step_generator-0.1.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

testing_step_generator-0.1.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file testing_step_generator-0.1.2.tar.gz.

File metadata

  • Download URL: testing_step_generator-0.1.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for testing_step_generator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9d51459092094476a434f29d1ab8f2056526e708e5dacfb3082212a81883994a
MD5 8430090648fa7f577437bc7bd60d69a4
BLAKE2b-256 9a5b48213c680fd3b86373c974b5adfe2ee055934bf530d63c46897f510cf5b2

See more details on using hashes here.

File details

Details for the file testing_step_generator-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for testing_step_generator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30811937e866ce5b96973fd1aac4437fb00fa65697f12173daf0387d6340cde9
MD5 f31c8efbb32f7fcb08845dec06fef4da
BLAKE2b-256 4e9643adae5b775d84c1d0cc5ded56421f234da50566915eda1424e0ffd35320

See more details on using hashes here.

Supported by

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