Indi
Nic Lin's Blog blog.niclin.tw

通常我們在寫測試的時候,有遇到重複需要的參數,會把他拉到 let 出來寫,避免每個 example 寫了一堆事前的參數準備。 那麼 let 和 let! 有什麼區別呢? Instance variables 在測試裡又可…

讨论

还没有评论,来说第一句吧。

Nic Lin's Blog 的其他文章