Welcome!
SSID: Brex Guest
Password: brexbrex
ReactJS @ Brex
Felipe Torres
SWE @ Brex
JS/TS Things
@fforres
Being
Lazy
& Testing
[TODO: Add photo of me being lazy]
I
Am
Lazy
Laziness (is) the quality that makes you go to great effort to reduce overall energy expenditure.
Larry Wall
Be lazy where it counts
80/20
For many events, roughly 80% of the effects come from 20% of the causes.
80% of your output, comes from 20% of your effort
Productive
Laziness
Work smarter not harder
Lets
Talk
Test
Testing comes in many forms
- Unit Testing
- E2E Testing
- Manual Testing
- Automated Testing
- Smoke Testing
- Regression Testing
- Integration Testing
- Acceptance Testing
- Snapshot Testing
- Visual Testing
- Unit Testing
- E2E Testing
- Manual Testing
- Automated Testing
- Smoke Testing
- Regression Testing
- Integration Testing
- Acceptance Testing
- Snapshot Testing
- Visual Testing
How are WE lazy
- Storybook stories as tests
- Snapshot testing is not a silver bullet (But can get us ~80% there)
- Visual diffing is great (There are alternatives)
Takeaways
Want to be lazier?
- Prettier
- ESLint
- Storybook
- Snapshot Testing
- E2E
- Integration Testing
- Automated Type Generation
- TypeScript
Lazy
Not so Lazy
Laziness @ Brex
• We are in the fin-tech space
• We like keeping up to date
• We move fast
• We like NOT getting pager-dutied
Actual photo of Felipe getting paged for the 8th time in the day.
2015 - Santiago, Chile
We are hiring.
#shamelessplug
Testing For Lazy people
By forres
Testing For Lazy people
- 790