<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuescript/spec/cli/test_basic_options.sh, branch feature/ast-node-end-position</title>
<subtitle>A mirror of https://github.com/pigpigyyy/Yuescript.git
</subtitle>
<id>https://git.lua4.win/yuescript/atom?h=feature%2Fast-node-end-position</id>
<link rel='self' href='https://git.lua4.win/yuescript/atom?h=feature%2Fast-node-end-position'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/'/>
<updated>2026-02-06T06:18:58+00:00</updated>
<entry>
<title>test: add comprehensive CLI test suite</title>
<updated>2026-02-06T06:18:58+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-02-06T06:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=aacf6dd9ebdb4d55b432ea1d4213093fe35e0ad1'/>
<id>urn:sha1:aacf6dd9ebdb4d55b432ea1d4213093fe35e0ad1</id>
<content type='text'>
Add 56 test cases across 4 test suites to verify the yue command line
tool functionality:

- Basic options test: -h, --help, -v, --version flags
- Compilation test: file/directory compilation with various options
- Error handling test: syntax errors, file not found, edge cases
- Execution test: -e option, script arguments, macros

The test framework includes helper functions for assertions and test
environment setup. All tests can be run via `bash spec/cli/run_all_tests.sh`.

Co-Authored-By: Claude Sonnet 4.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
