From 597544e30adf92de70a790cf2bd31808f587f6b8 Mon Sep 17 00:00:00 2001 From: Emil Sjolander Date: Sat, 24 Dec 2016 02:39:35 -0800 Subject: [PATCH] Add note about gtest submodule to readme Summary: Add note about gtest submodule to readme Reviewed By: vjeux Differential Revision: D4366004 fbshipit-source-id: 13ddc040faa251d52aa4c253caff9f5478e12ca6 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1e066668..e21ceb8f 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Yoga builds with [buck](https://buckbuild.com). Make sure you install buck before contributing to Yoga. Yoga's main implementation is in C, with bindings to supported languages and frameworks. When making changes to Yoga please ensure the changes are also propagated to these bindings when applicable. ## Testing +For testing we rely on [gtest](https://github.com/google/googletest) as a submodule. After cloning Yoga run `git submodule init` followed by `git submodule update`. + For any changes you make you should ensure that all the tests are passing. In case you make any fixes or additions to the library please also add tests for that change to ensure we don't break anything in the future. Tests are located in the `tests` directory. Run the tests by executing `buck test //:yoga`. Instead of manually writing a test which ensures parity with web implementations of Flexbox you can run `gentest/gentest.rb` to generated a test for you. You can write html which you want to verify in Yoga, in `gentest/fixtures` folder, such as the following.