ライブラリからツールへ - 汎用表明強化ツールとしての power-assert
RSpecさん… “Testing framework should evolve slowly…” #nodefest
2016-11-13 18:20:11The more test code evolves, the more newcomers cannot follow. #nodefest
2016-11-13 18:20:20たしかにテストフレームワークが独自実装で動かせなくなってテスト通さなくなったシステムがある…… 進化はゆっくりであるべき #nodefest
2016-11-13 18:20:49evolve slowly + easy to lean to write => power-assert #nodefest
2016-11-13 18:21:05テストはコードに対する投資。testing frameworkは書いている人に安心感を与えなければいけない。(流行り廃りの早いフロントエンドみたいに)えいやって書き換えさせるようなトレンドの移り変わりより、more slowlyじゃないといけない。 #nodefest
2016-11-13 18:21:07Yeah, asserting is very basic & classing approach in terms of unit testing. #nodefest
2016-11-13 18:21:19Rather than let evolve 'how to write', evolve 'how to show' #nodefest
2016-11-13 18:22:06進化の流れをゆっくりさせるということはテストコードを書いても安心、って訳か! #nodefest
2016-11-13 18:22:11APIが多ければ良いわけではない、1つで済むなら覚えることも少ない。その実験がpower-assert #nodefest
2016-11-13 18:22:37Stop remembering tons of asserting API (that's what 'slow to evolve' and philosophy under Power-assert) #nodefest
2016-11-13 18:22:49Jest みて snapshot いいなあと思いつつ、 toBe 系おぼえるのツライという結果になった… #nodefest
2016-11-13 18:22:59