For now, I don't plan to really start Geany, but test functions that don't 
require a running instance (for sure, some mocking is required). I.e. just 
linking libgeany and call UUTs directly.

I looked at glib's built-in test framework but I found it's inferior. It 
requires manual registration, and (AFAIK) doesn't run individual test in a 
separate, isolated process which makes signal-related tests hard (e.g. the 
suite breaks if a single test gets a segfault). Criterion offers a broader 
range of assertion macros, too. It can also run individual tests in parallel 
for faster execution times, due to the process isolation.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1427#issuecomment-286036359

Reply via email to