From 758bf272f4e472ff2da1621157a7c6343c0e3f3c Mon Sep 17 00:00:00 2001 From: debloip Date: Mon, 25 Mar 2024 17:11:24 -0400 Subject: [PATCH] HYDRA-861 : Add other best practices --- test/lib/mayaUsd/render/mayaToHydra/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lib/mayaUsd/render/mayaToHydra/README.md b/test/lib/mayaUsd/render/mayaToHydra/README.md index 68a00b6749..cac7c20507 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/README.md +++ b/test/lib/mayaUsd/render/mayaToHydra/README.md @@ -70,6 +70,8 @@ Some important notes : # Best practices - Don't skip tests unless necessary. If a test requires a certain plugin to be loaded, don't skip the test if the plugin fails to load, as this will falsely be reported as a pass. For such cases, prefer setting the `_extraPluginsToLoad` variable in your test class. +- Use relative paths in test data to make sure the tests will work anywhere. +- Prefer storing USD data in text-form .usda instead of binary, for readability and ease of modification should a test need to be tweaked. # Image comparison