Releases: adnanhashmi09/tinytest
Releases · adnanhashmi09/tinytest
Release list
0.0.1
tinytest v1.0.0
First release of tinytest - A Simple and Tiny C Testing Library
Features
- Lightweight unit testing framework for C projects
- Type-generic testing support for multiple data types:
- Integers
- Floating point numbers (float, double)
- Strings (char*, const char*)
- Colored test output with detailed failure messages
- Cross-platform support:
- Linux (AMD64, ARM64)
- macOS (Intel, Apple Silicon)
- Zero external dependencies
Included Files
- Header file:
tinytest.h - Shared libraries:
- Linux:
libtinytest.so(AMD64, ARM64) - macOS:
libtinytest.dylib(Intel, Apple Silicon)
- Linux:
Changes in This Release
- Initial implementation of core testing functionality
- Added support for generic type comparisons using C11's
_Generic - Implemented colored output for test results
- Added detailed error reporting with expected vs actual values
- Created Makefile for cross-platform compilation using zig
- Added comprehensive documentation and usage examples
- Generated libraries for multiple architectures using zig as compiler
Installation
Download the appropriate files for your platform:
tinytest.h(required for all platforms)- Platform-specific shared library:
- Linux AMD64:
libtinytest.so - Linux ARM64:
libtinytest.so - macOS Intel:
libtinytest.dylib - macOS ARM64:
libtinytest.dylib
- Linux AMD64:
Known Issues
None reported
Acknowledgments
- Uses zig compiler for cross-platform compilation
Full Changelog: https://github.com/adnanhashmi09/tinytest/commits/0.0.1