Skip to main content

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

Project description

Your Package Name

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.1.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.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: testinggenie-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 4852b71111a25130035d0710c5d24f8100f8fa7ff19525df3d75759e4322483b
MD5 4993c1dd8da6f94c9036d633b370ca17
BLAKE2b-256 fe3ee579e57bcb8808abeab939e073a165229383ddfde53b119082d2906db32a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: testinggenie-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9177df16c056cff37a97ba64e16cb194472bcf886a6c7592c8b3c2c8b30cf1ad
MD5 e31605c2a3217660c1c5062adea27fb1
BLAKE2b-256 8d7a39dfe73190507938a000180be1eee9b5a5a9e763cf3af5741c19e12ddbae

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