Father, Software Engineer, Cyclist, Humanist. Passionate about software testing & challenging the status quo. Leave the world better than you found it.
Trying to fix an intermittent test failure in your test suite? Follow this map to kill the dragon of "flaky" tests! #RubyConf (Repost with corrected image)
Hey @BCBSIL Your website is severely broken. The language lightbox pops up on page load and can't be closed by selecting an option or clicking the [x], making the entire website unusable when it appears. The lightbox has an XSS problem.
@BCBSIL 2 months since my first report and this major issue with accessing your website STILL isn't fixed. I've seen this across multiple computers over at least the last 4 months. This is a P0 severity defect if I ever saw one.
@cblatts "seek mentorship" is the thing that matters. Emphasize it more. Early in my career, I lacked mentorship even when I asked for it. When I got to a company that provided it, it increased my potential 10-fold. Now I mentor others to accelerate their growth and productivity.
@nateberkopec This is why engineering orgs need to establish and adhere to policies that treat intermittent failures as high priority defects. Otherwise the test suite is doomed to a death of a thousand cuts
@Austio36@Cennydavidsson @dilrajio @nateberkopec Types definitely eliminate some classes of tests but regardless of typing, any mature "monolith" app can easily have tens of thousands of tests.
@mametter@schwad_rb@bsdzunk@ShopifyEng Only way I can get 4 is if I wrap the solution itself in a string eval. Feels like cheating but there weren't any rules against it ๐. I'm not sure lower than that is possible.
@searls@caleb_hearth I can't comment on the PR but in declares_dry_class.rb on line 50 you declare `__mocktail_closure` locally and then appear to reference it inside the eval on line 66. Does eval correctly resolve local vars referenced in the block eval is called from?
@searls @JoshTGreenwood @tenderlove I dunno about time machine but I have a QNAP NAS and just store everything important in synchronized folders. If the laptop fails, anything truly important is already backed up. I'm insane so the QNAP is running RAID 6 with backup to backblaze
@tenderlove I have over 60 stashes and counting on the project I've been working on the past few years. "Next week, on Hoarders: a middle aged man struggles to toss work in progress that will never be completed"
@JasonSwett So make a features directory and put the tests you want there. The structure is there as a guide, not a rule. But, unit tests should follow the structure of code or you lose discoverable of tests for specific classes
@TheSonOfWalkley @Reed_Wolfpack @RobinToal All aspects? No. Most? Obviously. Can't say I don't miss *not* having a smartphone tethering me to work and the internet 24 hours a day just a little bit sometimes.
@TheSonOfWalkley @Reed_Wolfpack @RobinToal I was with you on this thread until this comment. My Motorola v60i was one of the best phones I ever owned and nigh indestructible.