
Mystery Maker's Monday, Testing, and GraphQL
Whiskey Web and Whatnot: Web Development, Neat
Seven, Seven, 7?
"This one blows away the other two for me. Oh, this is like miles better." "I think these were around, i would give this a e, maybe a seven," says Calen. 'You'll have to watch it'
They say if it's not broken, don't fix it. So why are we running tests on tests on tests that aren't business-critical? There's an art to testing beyond just striving to get 100% coverage. In fact, over-testing can actually hamper your progress more than help it. Meanwhile, Chuck's wondering why it's not possible to have a union of enums in GraphQL.
In this episode, Chuck and Robbie discuss some tech frustrations, lessons for the React community, why Ship Shape implemented spam traps, and a whatnot on all things alcohol, sports, Friends, and Robbie's (seemingly endless) truck saga.
Key Takeaways
- [01:50] - A lengthy whiskey review.
- [22:53] - Why getting carried away with tests becomes your downfall.
- [34:50] - Why Chuck thinks these tests in the React community are useless.
- [38:16] - Chuck's GraphQL confusion.
- [40:49] - A browser bug Chuck noticed.
- [44:09] - Robbie's non-sponsored plug.
- [44:50] - A sports-themed whatnot and an update on Robbie's truck saga.
Quotes
[26:52] - "There are things that warrant tests and things that don't and there are good best practices for writing them." ~ @rwwagner90 [https://twitter.com/rwwagner90]
[33:44] - "Sometimes people will just chase the goal of as close to 100% coverage as possible and then you end up with a bunch of egregious tests along the way." ~ @CharlesWthe3rd [https://twitter.com/CharlesWthe3rd]
[34:00] - "You need to test what's business-critical. You can do the other tests if you have the time. But there were a lot of tests that really didn't even check anything. And it's kind of arbitrary — you got that coverage, but you weren't doing anything." ~ @rwwagner90 [https://twitter.com/rwwagner90]
[36:32] - "Cypress is a great example of having integration testing in context where you can get visual progression testing too so [you] have some understanding there." ~ @CharlesWthe3rd [https://twitter.com/CharlesWthe3rd]
Links
- Maker's Mark No. 46 [https://www.makersmark.com/makers-mark-46]
- Maker's Mark Cask Strength [https://www.makersmark.com/makers-mark-cask-strength]
- Maker's Mark Private Selection [https://www.makersmark.com/makers-mark-private-selection]
- Woodford Reserve [https://www.woodfordreserve.com/]
- Jack Rose Dining Saloon [http://jackrosediningsaloon.com/]
- The FRIENDS Experience [https://www.friendstheexperience.com/]
- Mocha [https://mochajs.org/]
- Jest [https://jestjs.io/]
- Ember.js [https://emberjs.com/]
- Slack [http://slack.com]
- reCAPTCHA [https://www.google.com/recaptcha/about/]
- React [https://reactjs.org/]
- Cypress [https://www.cypress.io/]
- Facebook [http://facebook.com]
- Vite [https://vitejs.dev/]
- GraphQL [https://graphql.org/]
- Chuck on Twitter [https://twitter.com/CharlesWthe3rd]
- Elon Musk [https://twitter.com/elonmusk]
- Starlink [https://www.starlink.com/]
- Netlify [https://www.netlify.com/]
- Middesk [https://www.middesk.com/agent]
- QuickBooks [https://quickbooks.intuit.com/]
- Walkabout Mini Golf on Oculus Quest [https://www.oculus.com/experiences/quest/2462678267173943/]
- Holey Moley [https://abc.com/shows/holey-moley]
- Steph Curry [https://twitter.com/StephenCurry30]
- Topgolf [https://topgolf.com/us/]
- Rivian [https://rivian.com/]
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.