測試
一個用於撰寫 Dart 單元測試的程式庫。
- 星標
- 536
- 分支
- 232
- 最近推送(UTC)
- 2026年9月19日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
What's here?
Welcome! package:test is the standard testing library for Dart and
Flutter. If you have questions about Dart testing, please see the docs for
package:test. package:test_api and package:test_core
are implementation details and generally not user-facing.
package:checks is a relatively new library for expressing test
expectations. It's a more modern version of package:matcher and features a
literate API.
Packages
| Package | Description | Issues | Version |
|---|---|---|---|
| checks | A framework for checking values against expectations and building custom expectations. | ||
| fake_async | Fake asynchronous events such as timers and microtasks for deterministic testing. | ||
| matcher | Support for specifying test expectations via an extensible Matcher class. Also includes a number of built-in Matcher implementations for common cases. | ||
| test | A full featured library for writing and running Dart tests across platforms. | ||
| test_api | The user facing API for structuring Dart tests and checking expectations. | ||
| test_core | A basic library for writing tests and running them on the VM. | ||
| test_descriptor | An API for defining and verifying files and directory structures. | ||
| test_process | Test processes: starting; validating stdout and stderr; checking exit code. |
語言DartCSSJavaScriptHTMLGo Template
使用的依賴
依賴清單 1 項
- dart_flutter_team_lints開發依賴
^3.1.0
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗