Skip to main content

A package to generate unit test cases from code snippets using the Anthropic API.

Project description

testinggenie

This package generates unit test cases for code snippets using the Anthropic API.

Setup

  1. Create a config.json file in the root directory of the package with the following content:

    {
        "location": "your-region",
        "project_id": "your-project-id",
        "google_application_credentials": "path/to/your/credentials.json"
    }
    
  2. Install the package:

    pip install testinggenie
    

Usage

Run the main program:

from testinggenie import generate_test_cases
print (generate_test_cases("path_to_code_file"))

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

testinggenie-0.2.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

testinggenie-0.2.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file testinggenie-0.2.0.tar.gz.

File metadata

  • Download URL: testinggenie-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for testinggenie-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6212be24104c08fd7c353f4e57dd28a7f2239e09876e123d0b499023acfebefe
MD5 574454cdc4b7f52d0267bc86c17dc691
BLAKE2b-256 cd511d13088ac50be80ad9a1b87a203c21a3914c9a32631080c9fc6e5f5f38e1

See more details on using hashes here.

File details

Details for the file testinggenie-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: testinggenie-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for testinggenie-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16a172cd37326bb02e4b82761be68581b5dd2b2d0d486e7abaf4d49f42dd4b65
MD5 80269d22c7311782df4497a225ab47b0
BLAKE2b-256 c4abb3e4580a13ee7cf49843618fd997283be5e8f184309d457f928c1f7be63b

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