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 gmock path/to/header.h --mock output/mock.h --include base/include
Batch process a directory:
autogtest gmock 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.2.tar.gz
(57.4 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.2.tar.gz.
File metadata
- Download URL: autogtest-0.0.2.tar.gz
- Upload date:
- Size: 57.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7988d124b6b5b71b9814db98023e3328255b1cf6bf54cb8703718d8b0a6df29
|
|
| MD5 |
68bf72dd891a666e66ebd0d9dd0ca533
|
|
| BLAKE2b-256 |
6eecf505567a31fa847228fdf4e5142a6b22ca4413a03c231701905dd92a0cc5
|
File details
Details for the file autogtest-0.0.2-py3-none-any.whl.
File metadata
- Download URL: autogtest-0.0.2-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 |
d362453aa11cdf0e7c2fa728a825bb63c29c68d2e69ab67177c868c83c338587
|
|
| MD5 |
5c768936d9f12bfd6cb5b66327a98505
|
|
| BLAKE2b-256 |
0a6baced7a7e3cca6bc0f85ef0db479a252344998566755b18f0822396bd0409
|