Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soimort/pride
:rainbow: Simple testing and logging with pride
https://github.com/soimort/pride
Last synced: about 2 months ago
JSON representation
:rainbow: Simple testing and logging with pride
- Host: GitHub
- URL: https://github.com/soimort/pride
- Owner: soimort
- Created: 2015-06-30T14:32:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-01T15:44:30.000Z (over 9 years ago)
- Last Synced: 2024-10-14T12:25:35.341Z (3 months ago)
- Language: C
- Homepage:
- Size: 117 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pride
[![Rainbow](https://github.com/soimort/pride/raw/gh-pages/images/rainbow.png)](http://www.soimort.org/pride)
## What?
**Pride** is a lightweight **unit testing framework** as well as a simple **logging library** for C.
It is:
* *[Header-only](https://en.wikipedia.org/wiki/Header-only)*, like MinUnit and tinytest (so that it can be easily reused and compiled with your source)
* *Standalone* (no other dependency than the C standard library)
* *Multi-threaded* using [POSIX Threads](https://en.wikipedia.org/wiki/POSIX_Threads) (so that threading will enable faster testing)
* *Colorful* (if you are on an ANSI terminal)## Why?
Finding a well-maintained lightweight C library for testing and colorful logging was not easy. And it's never too hard to write one from scratch with pride.
`pride.h` is a self-contained header file, conformed to the C99 standard, and released into the public domain.
## How?
Prerequisites:
* a C99-compliant compiler
* a C library that implements POSIX Threads (pthreads), e.g., GNU C Library (glibc)