The Two Sides of Writing Testable Code #tryswiftconf

Collecting "Before starting" tweets. Everyone can edit this togetter. If there are some mistakes, please edit. subject:Before starting try!Swift conf place:Bellesalle Shinjuku Central Park 続きを読む
0
前へ 1 2 ・・ 5 次へ
Kuniwak @orga_chem

わーい、シングルトンだわぁーい #tryswiftconf

2017-03-03 10:15:01
Jon Reid 🐘 iosdev.space/@qcoding @qcoding

.@mbrandonw starting #tryswiftconf talk on testing by showing how NOT to write code if you want it to be testable. Brilliant

2017-03-03 10:15:01
ダンボー田中📦 @ktanaka117

あー、2chで聴けたら絶対綺麗なインプットになるはずだけど英語脳が全然復活しない...orz #tryswiftconf

2017-03-03 10:15:24
Satoshi Namai @ainame

テスト書かなくても常にどうやってテストするか考えながら書いてる #tryswiftconf

2017-03-03 10:15:33
Kuniwak @orga_chem

ここまでのまとめ: - テストの目的はテストできるコードだけを書きたいから - シングルトンなどは関数に暗黙的な入力 - 関数の純粋性が重要 #tryswiftconf

2017-03-03 10:16:50
熊谷 友宏 @es_kumagai

Side Effect … 改めて考えて見ると不思議な存在ね。 #tryswiftconf

2017-03-03 10:17:04
Meghan Kane @meghafon

Had a great time speaking @tryswiftconf 🇯🇵 about 3D Touch for #ios📱Stay tuned for code samples, writeup, + slides! 😎 #tryswiftconf #3dtouch

2017-03-03 10:17:04
ダンボー田中📦 @ktanaka117

computeという関数名と引数のfileが何を指すのかが分からないのだけれど、皆さんわかっているのだろうか #tryswiftconf

2017-03-03 10:17:30
Teruto Yamasaki☕️ @snoozelag

関数の引数と戻り値だけじゃない、ファイルを読み書きなど関数内部で行われている副作用部分のテストを意識したり、このままだと確認するのが難しいってことかな #tryswiftconf

2017-03-03 10:17:45
スターホシ @star__hoshi

get なのに副作用あるメソッドみるとキレる #tryswiftconf

2017-03-03 10:17:57
Shigure Shimotori @S_Shimotori_pub

ファイルを読んでStringを得る→Intに直す(ここまでの過程のどこかでエラー出たら0とみなす)→2乗する→2乗後の結果と”Computed: \(結果)”をreturn #tryswiftconf

2017-03-03 10:19:18
宇佐見公輔 @usamik26

副作用のある関数のテストはいつも悩む。 #tryswiftconf

2017-03-03 10:19:57
koher @koher

IOモナド的な話になるのかな? #tryswiftconf

2017-03-03 10:19:58
tarappo @tarappo

プロダクトのテスタビリティを考えるのは非常に大事。 #tryswiftconf

2017-03-03 10:19:59
シロクロつけるパンダ @applideveloper

副作用は無くすことはできない、副作用のない関数をつくって切り出し、副作用を局所化してコントロールしやすくすることが大切 #tryswiftconf

2017-03-03 10:20:17
前へ 1 2 ・・ 5 次へ