Skip to main content

Automated PYTHON| Tests in Minutes. Static analysis engine with AST-based code intelligence – generates unit, integration, and matrix tests for Ruby, Python, and JavaScript.

Project description

TNG Python - Automated Tests in Minutes

Static analysis engine with AST-based code intelligence – generates unit, integration, and matrix tests for Ruby, Python, and JavaScript.

🚀 Generate Your First Test Free

TNG Python is a powerful static analysis tool that leverages Abstract Syntax Tree (AST) parsing to understand your code structure and automatically generate comprehensive test suites.

Features

  • AST-based Analysis: Deep code intelligence using advanced parsing techniques
  • Multiple Test Types: Unit tests, integration tests, and matrix tests
  • Fast Analysis: Lightning-quick static analysis
  • Cross-platform: Works on macOS, Linux (x86_64 & ARM64)

Installation

pip install tng-python

Quick Start

1. Initialize Configuration

# Generate configuration file
tng-init

2. Configure API Access

Edit the generated tng_config.py file and set:

API_KEY = "your_api_key_from_tng.sh"
BASE_URL = "https://api.tng.sh"  # or your custom server

3. Generate Tests

# Launch interactive test generation
tng

This opens an interactive terminal UI where you can:

  • Search and select Python files from your project
  • Pick methods from the selected file
  • Generate comprehensive tests automatically

How It Works

TNG analyzes your Python code using AST parsing to understand:

  • Function signatures and parameters
  • Class structures and relationships
  • Import dependencies
  • Code complexity and patterns

It then generates appropriate test cases for:

  • Unit tests for individual functions
  • Integration tests for component interactions
  • Matrix tests for complex scenarios

License

Commercial License

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

tng_python-0.1.2-cp313-cp313-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tng_python-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

tng_python-0.1.2-cp311-cp311-manylinux_2_34_aarch64.whl (4.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ ARM64

File details

Details for the file tng_python-0.1.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb18c915c2e0347fdcb7a4b91a3902934014391f3783aa52a77adfec7be93069
MD5 bb5fb12a64f04bcd5ec663fc06e66ecb
BLAKE2b-256 3cc87d29672aa97522fcef7941078b56b63df0f5dec7d8ec0a19aa82d5d9a400

See more details on using hashes here.

File details

Details for the file tng_python-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 32a301d96dccc6c12ace365e4ad77d3c55d69e7bf2beed9a9da4771efcb8ac1e
MD5 3feb2dd0e76393836f838b5806822bac
BLAKE2b-256 0d5e6a9ea4cf80a29ee98a76c489d2d5f00e3305d7b4c0f74d8552458ffcb234

See more details on using hashes here.

File details

Details for the file tng_python-0.1.2-cp311-cp311-manylinux_2_34_aarch64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.2-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c69f277baedb2267124de947fb97855176f0efad789979f760cb961993068f47
MD5 d441bef47c0bb1d3d49e211d0d014052
BLAKE2b-256 870b1fdebc7ab746a00dc941bcb499fc98d4d71aff16fb82419bae1d96213bfc

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