Criterion
Dev tools
unit testing framework
SHOW HN2015
34points
13comments
#824of 2,565 in 2015
Top 33%of 2015 by points
How HN took it
QuietFewer than 5 comments about the project
0 positive, 2 neutral or asking, 0 mixed, 1 critical, out of 3 comments about the project.
Design: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Good, well-made project
From 1 comment
Actually, I didn't know about it until now! The project uses a similar approach to mine, by parsing the DIE tree produced by dwarf, which means that it won't work if you're not…
Snaipe on HN
Objections
Cannot yet test exit codes or redirect stdout/stderr
From 1 comment
By default, if the test raises any signal or exits with anything other than 0, the test fails. Otherwise, you can't (yet!) test if the code exits with a specific value nor simply…
Snaipe on HN
Code is opaque macro-heavy
From 1 comment
This looks like some good stuff, but browsing through your code, it's honestly pretty opaque macro hell. Why so obfuscated?
some_online_guy on HN
Does not support Windows or OS X
From 1 comment
Actually, I didn't know about it until now! The project uses a similar approach to mine, by parsing the DIE tree produced by dwarf, which means that it won't work if you're not…
Snaipe on HN
Requests
Test stdout and stderr output
From 1 comment
personally I use Glib test (https://developer.gnome.org/glib/stable/glib-Testing.html) for c testing, but I'll check this out. Does this let you test what a program sends to…
lsiebert on HN
Test specific exit codes
From 1 comment
personally I use Glib test (https://developer.gnome.org/glib/stable/glib-Testing.html) for c testing, but I'll check this out. Does this let you test what a program sends to…
lsiebert on HN
Questions
Why not use Google Test
From 1 comment
Why did you rule out using Google Test (https://code.google.com/p/googletest)? (In case you mulled over using it.)
workbin on HN
Alternatives named
Novaprova
From 1 comment
Did you check out Greg Banks' Novaprova?
__d on HN
Google Test
From 1 comment
Why did you rule out using Google Test (https://code.google.com/p/googletest)? (In case you mulled over using it.)
workbin on HN
GLib testing
From 1 comment
personally I use Glib test (https://developer.gnome.org/glib/stable/glib-Testing.html) for c testing, but I'll check this out. Does this let you test what a program sends to…
lsiebert on HN
CUnit
From 1 comment
Developer here. I made this unit testing framework out of frustrations I had (and still have) with other C frameworks like CUnit or Check. I wanted to make something much more…
Snaipe on HN
Check
From 1 comment
Developer here. I made this unit testing framework out of frustrations I had (and still have) with other C frameworks like CUnit or Check. I wanted to make something much more…
Snaipe on HN