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.1-cp313-cp313-macosx_11_0_arm64.whl (1.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tng_python-0.1.1-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.1-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.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tng_python-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8cc2df79675ee4982f4c4526ac44852f5c8aeca1fbbc60850e81bf711ceedfa
MD5 ee345533308e1e189949953184848fcf
BLAKE2b-256 c4c7db3cf984b5f9fd2c6d0cf8f0a4f92758ee1ac2437c17aa171cda1880e3a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 626ee43f721c434b0a4e3fc85313edf97f89b9e9bfc4be46575ea0af699c87a9
MD5 40aaa8275e663ec6374550e96c82c79b
BLAKE2b-256 216062782a3ac895ec3970859b417294ab3ff428c94cdd9c2541cb9941d56c30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.1-cp311-cp311-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 b844e7e83795ebd620b8f26326588009a7043ea29f054c91e9b6e387b93aa077
MD5 c333b13d50e207159f0b3ad244c6aecc
BLAKE2b-256 4cff5bde3bd645f0c84fab2022640cbe07d6d3f94a343171b3cb38360885a8d5

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