Document how to run unit tests in slang-test documentation #4771
Labels
goal:quality & productivity
Quality issues and issues that impact our productivity coding day to day inside slang
kind:documentation
areas where we can improve documentation in codebase
It's not clear that unit tests are part of slang-test according to the documentation: ./tools/slang-test/README.md
The document should be clear about how unit tests fit in, and most importantly, how to run them. It's hard to discover how to do this without better documentation. Also, the command is finicky, requiring a slash to get working:
Running all gfx unit tests:
BAD $ ./build/Release/bin/slang-test.exe gfx-unit-test-tool
GOOD $ ./build/Release/bin/slang-test.exe /gfx-unit-test-tool
GOOD $ ./build/Release/bin/slang-test.exe gfx-unit-test-tool/
Similarly, slang-unit-test-tool is a suite of "vanilla" tests.
$ ./build/Release/bin/slang-test.exe slang-unit-test-tool/
The text was updated successfully, but these errors were encountered: