RubyConf 2015 - How to Stop Hating your Test Suite by Justin Searls

  Рет қаралды 10,596

Confreaks

Confreaks

Күн бұрын

Пікірлер: 6
@MikeMcElroy
@MikeMcElroy 3 жыл бұрын
Because timestamps are useful: Structure 5:14 - Too Big To Fail 8:45 - Off-Script 11:15 - Hard to Skim 13:55 - Too Magic / Not Magic Enough 15:49 - Accidentally Creative Isolation 18:17 - Unfocused Test Suites 20:53 - Too Realistic 23:15 - Redundant Coverage 25:46 - Careless Mocking 28:06 - App Framework Test Feedback 30:01 - Bad Error Messages 32:05 - Slow Feedback Loops 35:06 - Painful Data 36:57 - Superlinear Build Slowdown 39:58 - False Negatives
@BroileR2007
@BroileR2007 8 ай бұрын
This is a great talk. I have one objection. Although I agree with most of what Justin said, I'd hate to see the like of his examples in a real project. It looks nice when there are 5 lines of test code, but easily gets out of hand as the test file grows. Naming the object under test a "subject" reduces the descriptiveness of a test, imagine scrolling 500 lines up to see what "subject" means, or when there are 10 "subject" definitions in a file, sprinkled all around nested contexts, and you try to find which one is actual for the given test. Or similarly, when all your tests are one-liners and to understand their setups and expected values you have to go hunting around the whole test file. I've worked on a project like this and it was intolerable. So please, people, don't follow these examples dogmatically, use your judgement.
@TheIronSavior
@TheIronSavior 8 жыл бұрын
Audio is really screwy at 35 min
@mvargasmoran
@mvargasmoran 5 жыл бұрын
YES! I wasn't alone (even though I super late to this party)
@JHUArchMuseum
@JHUArchMuseum 8 жыл бұрын
love this!
@danielitaborai7632
@danielitaborai7632 8 жыл бұрын
great talk =)
RubyConf 2015 -  A Guided Read of Minitest by Nate Berkopec
40:14
RailsConf 2017: Keynote by Justin Searls
44:05
Confreaks
Рет қаралды 7 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 85 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 54 МЛН
RubyConf 2015 - How to Crash an Airplane by Nickolas Means
42:12
Justin Searls - Please don’t mock me
51:47
Paul Dowman's tech events and interviews
Рет қаралды 26 М.
RubyConf 2015 - How does Bundler work, anyway? by Andre Arko
42:31
Errichto Stream, POI 22/1
3:55:08
Errichto Algorithms
Рет қаралды 157 М.
RailsConf 2016 - Succession by Katrina Owen
40:39
Confreaks
Рет қаралды 16 М.
Swift Programming Tutorial for Beginners (Full Tutorial)
3:22:45
CodeWithChris
Рет қаралды 7 МЛН
RailsConf 2019 - The Selfish Programmer by Justin Searls
37:38
Kubernetes 101 workshop - complete hands-on
3:56:03
Kubesimplify
Рет қаралды 1,6 МЛН