NVIDIA-Omniverse / kit-extension-template-cpp

Omniverse Kit C++ Extension Template
Apache License 2.0
54 stars 19 forks source link

Main funcitons in TestOgnExampleNoed.py didn't get called during testing process (does it mean that the node isn't tested?) #6

Open forevertheever opened 1 year ago

forevertheever commented 1 year ago

Hey,

I built the extension omni.example.cpp.omnigraph_node successfully and tried to test it by directly calling the tests-omni.example.cpp.omnigrapg_node.sh with a generated coverage file.

However, I noticed that the coverage was low(23%). Then I found out the main part of TestExampleNode.py didn't get executed, which means the functionality of this example ogn wasn't tested.. Here is the test report: file:///home/yaoying/Desktop/kit-extension-template-cpp/_testoutput/test_report/index.html

It would very nice if you could give me some hints about how to test an ogn. Thanks in advance!