[英]Running all Flutter unit tests from Visual Studio Code
我的單元測試位於測試目錄中,並且都以“_test.dart”結尾。 為了解決上述兩個問題,我可以通過從終端執行flutter test
來運行所有單元測試,但我想知道是否有 GUI 選項。
Android Studio 上不存在此問題。
你試過這個嗎? https://dartcode.org/releases/v2-21/
{
"name": "All Tests",
"type": "dart",
"request": "launch",
"program": "tests/", // or test/foo for a subset of tests
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.