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
- Email: raluca@tng.sh
- Repository: https://github.com/tng-sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
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 tng_python-0.1.3-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: tng_python-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b465e1ff1ebc4247ea487abf53748ac1e3251240d0b9c4fdc3723ed55ba8d7f
|
|
| MD5 |
33ea710203453d6fe5afd7b407dd09a1
|
|
| BLAKE2b-256 |
4ccac3481731339b10a6471bf4a81ba9fed198c34d53e5cc610243b146948a9a
|