Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 827 Bytes

unit_testing_instructions.rst

File metadata and controls

31 lines (22 loc) · 827 Bytes

Detailed Notes on Drake's Unit Tests

Introduction

Unit tests are essential for software maintainability. They demonstrate the correctness of existing code and prevent future changes from breaking the past functionality (i.e., regressions). They are the only way for developers to inform Drake's :ref:`Continuous Integration (CI) <continuous_integration_notes>` service how the software is supposed to behave.

Unit Testing Frameworks

C++ Code

Please use the Google Test Framework. It is already available as a required external in the Bazel build.