Skip to content

useblocks/hammocking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

130 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hammocking

CI Status Documentation Status Test coverage percentage

Poetry ruff pre-commit

PyPI Version Supported Python versions License

Automatic mocking tool for C

Installation and Building

On Windows

Install Dependencies

.\build.ps1 -install

Build

.\build.ps1

On Linux/macOS

Quick Start

# Using Makefile
make setup    # Install dependencies and setup hooks
make build    # Run full build pipeline

# Or using build script
./build.sh          # Normal build
./build.sh --clean  # Clean build
./build.sh --install # Install only

Prerequisites

  • Python 3.10+ (Python 3.13 recommended)
  • Poetry (will be auto-installed)
  • For running integration tests: clang/llvm, cmake, ninja-build

Available Make Targets

Run make help to see all available commands:

Target Description
make install Install dependencies
make test Run tests
make lint Run linting checks
make docs Build documentation
make build Full build pipeline (lint + test + docs)
make clean Clean build artifacts

What the Build Does

  • Pre-Commit checks and linting
  • Execution of all tests
  • Building documentation

About

Automatic mocking tool for C

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.2%
  • C++ 9.4%
  • Makefile 6.7%
  • Shell 6.4%
  • C 3.8%
  • PowerShell 3.6%
  • Other 5.9%