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 Distribution

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

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

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for tng_python-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b465e1ff1ebc4247ea487abf53748ac1e3251240d0b9c4fdc3723ed55ba8d7f
MD5 33ea710203453d6fe5afd7b407dd09a1
BLAKE2b-256 4ccac3481731339b10a6471bf4a81ba9fed198c34d53e5cc610243b146948a9a

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