Loading Writing-ISIS3-Tests-Using-Gtest-and-Ctest.md +1 −1 Original line number Diff line number Diff line # Creating a new test suite 1. Create a new file `ClassNameTests.cpp` in `isis/tests/`. For example, the tests for the Cube class should be in `CubeTests.cpp`. 1. Add `#include <gtest/gtest.h>` to the file. 1. Add `#include "gmock/gmock.h"` to the file. 1. Write your test cases. 1. Delete old tests Loading Loading
Writing-ISIS3-Tests-Using-Gtest-and-Ctest.md +1 −1 Original line number Diff line number Diff line # Creating a new test suite 1. Create a new file `ClassNameTests.cpp` in `isis/tests/`. For example, the tests for the Cube class should be in `CubeTests.cpp`. 1. Add `#include <gtest/gtest.h>` to the file. 1. Add `#include "gmock/gmock.h"` to the file. 1. Write your test cases. 1. Delete old tests Loading