All talks

Going 100% TDD with React Native Testing Library

About

A year ago, I challenged myself to practice TDD on my React Native application all the time for two weeks. At first, I was afraid, then I was petrified. I kept thinking I could never write tests that my code would abide. But then I spent so many nights thinking about what testing is and how I was doing it wrong. And I grew strong. I became more confident writing tests with React Native Testing Library. After two weeks I realized that it was one of the best decisions I had ever made. One year later I would never go back, and I believe a lot of developers would benefit from it as well. In this talk I am going to cover: - a quick reminder of what TDD is - how to use 100% TDD (yes, even with components!) on a React Native app by developing a HackerNews clone in RN - why switching to TDD made me a lot faster - why TDD made my code healthier - in which conditions I would recommend not using TDD My goal is to lower the barrier to start using TDD with React Native and to convince other developers to give it a try!

Speakers Bios

Speaker Bio

"Louis Zawadzki has been developing React Native apps of different sizes and shapes since 2017. He became a developer after he heard that "a server is like a computer, but without a mouse nor a screen," and was intrigued to know what kind of superpowers developers had to do something with no mouse and no screen. "Life is too short to click on simulators" could be his motto, hence his love for TDD and building easily changeable and testable architectures. He is also passionate about many things such as German rock music from the 70s, storefront typography and fig rolls."

Speakers

Louis Zawadzki

Louis Zawadzki

Louis Zawadzki

Louis Zawadzki

Date originally presented

September 1, 2021

See also

Let's talk

conference@callstack.com

Please note that every RNEU participant, speaker, sponsor and volunteer MUST follow our code of conduct.