I wrote a custom Python extension for Isaac Sim. Now I want to add unit tests to it. I found that Python Kit SDK already contains omni.kit.test for running tests. I tried to follow the tutorial here Testing Extensions with Python — Omniverse Kit 106.4.0 documentation however, it seems this tutorial is not correct, it mentions tu run some bat files that are not available (alo I am on Ubuntu so .bat files will not run on my machine anywhere). After additional searching I found this tutorial https://www.youtube.com/watch?v=xnQ97ODGYY4 which shows how I can run tests from the UI of an Omniverse app. The problem is that this tutorial instructs to run it from the test tab of my extension, but I do not see test tab available at all for any extensions, so I cannot follow that tutorial as well, here is a screenshot
Thank you for reaching out about running tests for your custom Python extension in Isaac Sim. I understand you’re having trouble following the available documentation and tutorials. Let me check with our team and get back to you.
VickNV thanks for replying.
The [instruction] (Testing Extensions with Python — Omniverse Kit 106.4.0 documentation) says to run some batch file, highlighted below. I could not find this file in my extension folder (nor could I find shell scripts “.sh” files with a similar name). Furthermore, even if I did find that file, batch files are specific for Windows, but I am on Linux (Ubuntu) machine and I cannot run batch files on Linux.