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
-
Create a
config.jsonfile 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" }
-
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.4.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file testinggenie-0.4.0.tar.gz.
File metadata
- Download URL: testinggenie-0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78501dd2fc24d4989344a36439ddd9c1785288ecbeb95d54b6ebff3d59fc47e7
|
|
| MD5 |
f4e8f7eeabd754a3a88951c8d431b7c0
|
|
| BLAKE2b-256 |
7204bb819b2e896e429d7c562be83a5c6db5dd4ed24c8905f7ec5b53d5221aff
|
File details
Details for the file testinggenie-0.4.0-py3-none-any.whl.
File metadata
- Download URL: testinggenie-0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
819373fd93f649e279bbee3baf69c6f8b1f11d0cfc4a0a9af466e91215d443a6
|
|
| MD5 |
136a15293485c4248095f606eb37d439
|
|
| BLAKE2b-256 |
dd8a55a8953f95be51142a959035c1f7f915bfa7749f1a2c6b641dbd2ab7bea2
|