Our great sponsors
-
I'm keen to do some of the exercises outlined here; however, before I begin, I've been trying to set up C unit tests for any code that I eventually write. In the past, I've used GoogleTest and CMake in my own C projects, which is pretty straightforward to set up but I haven't been able to get this combo to work for the OS161 kernel so far.
-
I'm keen to do some of the exercises outlined here; however, before I begin, I've been trying to set up C unit tests for any code that I eventually write. In the past, I've used GoogleTest and CMake in my own C projects, which is pretty straightforward to set up but I haven't been able to get this combo to work for the OS161 kernel so far.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Catch
A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
The following questions that I have are platform and testing framework agnostic but in the interest of being precise, I have been trying to set up CMake so that it is able to run a simple "Catch2" unit test. I'm use CLion as my test runner to make life easy and everything is running on Ubuntu 18.04.
-
My current attempt is as follows. The full repository containing this attempt can be found here: