[sane-devel] googletest dependency for unit tests on genesys backend

Povilas Kanapickas povilas at radix.lt
Fri Jul 5 01:13:38 BST 2019


Hey,

I propose to add googletest[1] as a dependency for running unit tests on
the genesys backend. It's one of the most popular testing frameworks for
C++ code and in my experience it's more convenient to use than the
competition. The benefits compared to the assert() testing style are
that the test run produces much more information on what the tests are
doing so the developer does not need to fire a debugger to figure out
what's wrong in case of failures. This will save a lot of time.

What do you think about this? Since it's completely optional
developer-only dependency it should not affect anyone except the
developers of the genesys backend in any way.

Regards,
Povilas

[1]: https://github.com/google/googletest




More information about the sane-devel mailing list