This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Most of the articles I find online is explaining 'how' to unit test but I want to know 'what' to unit test. How do you decide this?
It doesn't make sense to me. I feel like unit testing is made for the backend. It's hard to wrap my head around why and 'what' I would test in the frontend except some frontend JS logic (including things like Redux actions, whether an API call is making the right changes in the UI, etc.). However, I can't see what I would unit test in the 'visual' realm of the things, such as how a layout 'looks' on different devices, the CSS and HTML etc.
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Frontend/co...