What are Google Test, Death Tests
I saw the documentation of that feature is seem pretty major since it's in Google Test overview features and detailed in: https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests They look like standard assert() but they're part of Google Test, so a xUnit testing framework. Therefore, I wonder what the real usage or advantage of using those death tests are. The assertion is there to confirm that a function would bring about program termination if it were executed in the current process (the details explains that the death test is invoked from a subprocess which