2 則留言 (2 則留言)0 個反應 (0 個反應)0 位負責人 (0 位負責人)Scala598 個分叉 (598 個分叉)batch import
1 - triagedhackathonhelp wantedsmallt:testing
倉庫指標
- 星標
- 1,311 顆星 (1,311 顆星)
- PR 合併指標
- 平均合併 1天 10小時 (平均合併 1天 10小時)30 天內合併 2 個 PR (30 天內合併 2 個 PR)
描述
@chunt noted:
Unsure where to document this, but since upgrading to 2.6, and given that I use utest, I had to do the following for my tests:
override def testExceptionHandler: ExceptionHandler = ExceptionHandler {
case e: AssertionError => throw e
}
貢獻者指南
- 研究方向
- 檢查現有的測試工具模組(akka http testkit),了解它如何為其他測試框架(如 ScalaTest 或 specs2)提供支援。此問題要求為 utest 提供類似支援。請參考 PR #2949 中的評論以獲取上下文。一種可能的方法是建立一個與 akka http 測試工具整合的 utest 風格包裝器,或許可以提供類似於其他框架已存在的 trait。查閱儲存庫的測試工具原始碼以及專案中任何現有的 utest 相關用法以獲取指引。
- 技術棧
- scala
- 領域
- backendtesting
- 議題類型
- 功能
- 前置要求
- Scalasbt