blob: a4f9495ce75934294685caa4500127710369d412 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# EZ-Tester
A barebones testing library for C
## Build
Note this has only been tested on my machine
* Void Linux x86_64 glibc
```bash
make static # builds libeztester.a and libeztester_debug.a
```
### Dependencies
* None ☺️
## Usage
### Static
After building, copy the static libraries into your project
```bash
cp libeztester.a libeztester_debug.a $YOUR_PROJECT_DIRECORY/libs
```
When building make sure to add `-Llibs -leztester` to your linker flags
For example:
```bash
gcc -o bird_tester tests/bird_tests.c src/bird.c -Llibs -leztester
```
### Dynamic
### Header
## TODO
* [ ] makefile
* [x] static library target
* [ ] dynamic library target
* [ ] header-only target
* [ ] colorized output
* [ ] `run_shell_script`
|