generate gmock files
Project description
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
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 Distribution
autogtest-0.0.3.tar.gz
(57.3 kB
view details)
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 autogtest-0.0.3.tar.gz.
File metadata
- Download URL: autogtest-0.0.3.tar.gz
- Upload date:
- Size: 57.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5d80166e7444351373e32b386651b348718e637aa3b78cb684976b0b481ecf4
|
|
| MD5 |
2db667533c3b13154470ce8db2864bf3
|
|
| BLAKE2b-256 |
3c9ada56ef35749cf270ac1d477efaed6a78e0f9889674fdb3a6260d7a33ccbc
|
File details
Details for the file autogtest-0.0.3-py3-none-any.whl.
File metadata
- Download URL: autogtest-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e49af21ffdfe940e6f93b5a648e8fc68b12fa39be766e31933df197f42fe15e4
|
|
| MD5 |
968c066b280ff32f602e8a3703a8827d
|
|
| BLAKE2b-256 |
302557630c807e3d0d8c73b4ad4789dea1b7984b9e0b10570db2e0e52dfc0bd9
|