Yoshihiro Nakamura@Naka_wam
Software Engineer
2016.4 ~ Recruit Lifestyle
2019.6 ~ BCG Digital Ventures
twitter: @Naka_wam
github: @taneba
A simpler replacement for enzyme that encourages good testing practice
A QUICK PREVIEW
It's time to thank and say goodbye to enzyme 👋
react-testing-library allows us to write tests the way real user interact with the app.
Document
Todos
Evidence
etc.
A workflow that builds your team confidence by sharing test cases written with user-centric words with your team members
Structure the projects and organize its components
it.todo('name'), it.skip('name', fn), it('name', fn)
Jest CLI: --json option
- Print the test results in JSON
- Use it to build TDD Docs
Apply TDD by replace it.todo('XXX') with it('XXX', fn)
jest --json
Share the test results with your team
a bug shows up🤯
Yoshihiro Nakamura@Naka_wam