test
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRun tests for the Keychat project.
为Keychat项目运行测试。
Arguments
参数
- - Optional: specific test file path or package name
$ARGUMENTS
- - 可选:特定测试文件路径或包名
$ARGUMENTS
Test Commands
测试命令
Run all tests
运行所有测试
bash
melos run test:allbash
melos run test:allRun Flutter tests only
仅运行Flutter测试
bash
melos run test:flutterbash
melos run test:flutterRun Dart tests only
仅运行Dart测试
bash
melos run test:dartbash
melos run test:dartRun a specific test file
运行特定测试文件
bash
cd packages/app
flutter test $ARGUMENTSbash
cd packages/app
flutter test $ARGUMENTSWorkflow
工作流
- If no arguments provided, run
melos run test:all - If a file path is provided (ends with ), run that specific test
.dart - Report test results clearly, including any failures
- 如果未提供参数,运行
melos run test:all - 如果提供了文件路径(以结尾),运行该特定测试
.dart - 清晰报告测试结果,包括任何失败情况