-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how unit tests are defined and run #6448
Document how unit tests are defined and run #6448
Conversation
There is one more .. I cannot remember exact name but render-unit-test/ or something, don't we? |
You could close #4771 with this |
2a28667
to
b4ac2d4
Compare
Ok, I'm not aware of that one, but this at least adds some amount of documentation for how to run unit tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind adding the extra example?
|
||
## Unit tests | ||
|
||
In addition to the above test tools, there is also `slang-unit-test-tool`, which is invoked as in the following example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you also give instructions to run a single gfx-unit-test-tool test? For example,
.\build\Release\bin\slang-test.exe gfx-unit-test-tool/precompiledTargetModule2Vulkan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
b006438
to
c34852d
Compare
Done, I added an example for |
This closes issue shader-slang#4771.
c34852d
to
c83c383
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.