aboutsummaryrefslogtreecommitdiff
path: root/spec/cli/cli_test_helper.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add test suite for reserve comments featureLi Jin2026-02-201-0/+27
| | | | | | | | - Add assert_output_not_contains helper function for negative assertions - Add reserve_comments_spec test with Yue and Lua files - Integrate new test suite into run_all_tests.sh Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* test: add comprehensive CLI test suiteLi Jin2026-02-061-0/+183
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 <noreply@anthropic.com>