autogtest
Autogtest is a CLI tool for auto-generating Google Mock test code from C++ header files.
- Github repository: https://github.com/10-neon/autogtest/
- Documentation https://10-neon.github.io/autogtest/
Features
- Automatically generates Google Mock classes from C++ abstract interfaces
- Supports both single file and batch processing modes
- Customizable Jinja2 templates for mock generation
- Handles nested namespaces and nested class
Installation
pip install autogtest
Basic Usage
Generate mock for a single header:
autogtest path/to/header.h --mock output/mock.h --include base/include
Batch process a directory:
autogtest path/to/headers/ --mock output/mocks/ --include base/include
Command Options
autogtest [HEADER]
--mock TEXT Output path (file or directory)
--include TEXT Base include directory
--template TEXT Custom template path
Metadata
Release files for autogtest 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| autogtest-0.0.3.tar.gz | 57.3 kB | Without provenance | Details for autogtest-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| autogtest-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for autogtest-0.0.3-py3-none-any.whl |
Total release size: 63.2 kB
Release files / autogtest-0.0.3.tar.gz
| Download URL | autogtest-0.0.3.tar.gz |
|---|---|
| Size | 57.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5d80166e7444351373e32b386651b348718e637aa3b78cb684976b0b481ecf4
|
|
BLAKE2b-256 checksum How to use checksums |
3c9ada56ef35749cf270ac1d477efaed6a78e0f9889674fdb3a6260d7a33ccbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / autogtest-0.0.3-py3-none-any.whl
| Download URL | autogtest-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e49af21ffdfe940e6f93b5a648e8fc68b12fa39be766e31933df197f42fe15e4
|
|
BLAKE2b-256 checksum How to use checksums |
302557630c807e3d0d8c73b4ad4789dea1b7984b9e0b10570db2e0e52dfc0bd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for autogtest 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.