NativeScript / NativeScript/nativescript-cli
Prompt to automatically execute `tns test init` on `tns test`
未關閉
還沒有人認領這個 Issue。
feature
unit testing
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Describe the solution you'd like
After https://github.com/NativeScript/nativescript-cli/pull/4381, the test command will tell you to run tns test init if your app is not ready for unit testing. It will be better if we interactively ask the user and init the app without exiting the test command.
Additional context
We should also think about providing this in the VSCode extension.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 tns test 命令和 pull request #4381 之後描述的現有 tns test init 流程開始。追蹤命令回報應用程式尚未就緒的位置,然後確定互動式確認應如何觸發初始化而不退出。單獨考慮 VSCode 擴充功能,因為 issue 將其標示為額外內容,而不是已定義的需求。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100