Lariat is a very thin layer around Google Test (a.k.a. gtest), a C++ unit test framework. It simplifies (for me anyway) integrating gtest-based unit tests into an automated build system by allowing you to place resource constraints (memory, CPU time, real-time, etc.) on a particular unit test suite so that one misbehaving suite doesn't blow away your entire nightly automated build and unit test sweep.

The latest version of Lariat integrates Google Mock (a.k.a. gmock), an C++ object mocking framework built on top of Google Test.

Lariat is itself unit tested using Google Test.

I really like Google Test. I've used a lot of unit test frameworks, including JUNIT (the Java unit test framework which I consider to be the gold standard for these kinds of things), as well as, for C++, CPPUNIT, CPPUNITLITE, CXXUNIT, and a lot of ad hoc approaches. Goggle Test finds that sweet spot between functionality and complexity. I've been using it for a few years now on customer C++ projects.

Lariat can be found on GitHub here.

Lariat has been tested on a Linux/GNU-based PC (Ubuntu).

Although my alter-ego Chip Overclock hasn't written any articles about Lariat specifically, it is used in Hayloft, which he has written about extensively.


Presentation: Implications of Memory Consistency (or Lack of It) Models for Java, C++, and C Developers (more)

Seminar Review: Jack Ganssle, Better Firmware Faster, 2006 (more)

Article: Vaster than Empires and More Slow: The Dimensions of Scalability (more)

Article: In Praise of do-while (false) (more)

Book Review: Joel Spolsky, Best Software Writing I, Apress, 2005 (more)

Presentation: Robert Austin, Measuring and Managing Performance in Organizations, Dorset House, 1996 (more)

Book Review: Joel Spolsky, Joel on Software, Apress, 2004 (more)

Presentation: James Surowiecki, The Wisdom of Crowds, Doubleday, 2004 (more)

Travelogue: China Journal: Dancing with a Sleeping Giant (more)

Unless otherwise specified, all contents Copyright © 1995-2015 by the Digital Aggregates Corporation, Colorado, USA.
Such copyrighted content is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License.