Eve Porcello
@eveporcello
Finding the Fun
TDD with React
https://bit.ly/women-of-react
But who is
Eve Porcello?
An Analysis
But How Did I Get That Way?
Buy Gear
Put In Bag
Take it to the mountains.
How did I get into Tech?
History
F
A
A
N
G
Text
acebook
etflix
pple
mazon
oogle
1
800-DENTIST
Planning works.
3
Learning
The Hard Part
Test Driven Development
Planning
TDD
Code
TDD is:
- Not the tests
- Not code coverage
- Not the library you use to do it
TDD is:
A process that drives how you write code.
Red: Write the tests. Watch them fail
Green: Write minimal amount of code to make tests pass
Gold: Refactor code and tests
DEMO
Requirements
1. Take a list of items and weights
2. Distribute that list among bags
Write the Tests
(Red)
Make It Work
(Green)
Testing worked.
A test is just a program that you write to validate code.
Tea Dee Dee Doesn't Work!
Testing isn't for everyone
Testing isn't for everything
Tests 💗 Hooks
Tests 💗Functions
A
B
C
lways
e
onsidering how writing a test might be helpful if you're stuck
but don't feel like you have to test everything.
You are your own person, and you know what you're doing.
There's more than one way to do everything.
Thank You
@eveporcello
TDD with React
By Moon Highway
TDD with React
A talk for Women of React 2020
- 1,136