New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

testing-step-generator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testing-step-generator

A CLI tool for initializing and generating output.

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

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/*

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc