I do TDD my actions-reducers-helpers and only snapshot tests the ui.
I find quite silly TDD components, as in:
IT SHOULD HAVE A BUTTON RUN FAILS add a button RUN SUCCESS
I think it slows down and does not add much.
What I usually tend to do is to leave View quite logic free, and move everything more logic related to helpers functions that I tdd.
That's what I've been doing. I've seen some posts from avid TDD practitioners and wanted to know how they go about it beyond a simple tutorial.
if you say something like I did on reddit, people will downvote you to death :D
here you can say it out loud, is freeing:
TDD ON COMPONENTS IS USELESS
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I do TDD my actions-reducers-helpers and only snapshot tests the ui.
I find quite silly TDD components, as in:
I think it slows down and does not add much.
What I usually tend to do is to leave View quite logic free, and move everything more logic related to helpers functions that I tdd.
That's what I've been doing. I've seen some posts from avid TDD practitioners and wanted to know how they go about it beyond a simple tutorial.
if you say something like I did on reddit, people will downvote you to death :D
here you can say it out loud, is freeing:
TDD ON COMPONENTS IS USELESS