7
7
700ghz2019-05-25 17:41:54
Test Driven Development
700ghz, 2019-05-25 17:41:54

Is TDD possible in frontend development? Or do you need to navigate the mouse in the browser all day?

TDD API - it's simple: HTTP request, checked the returned json, everything is ok.
TDD front-end? (frontend flour)
1. changed the code
2. livereload worked
3. do a LOT of mouse clicks in the browser to see the result (click on the component, open the listbox, etc.)
Is it possible to somehow optimize the routine in point 3.?
Or is the front-ender doomed to use the mouse in the browser all day long?
Thanks :)
UPDATE:
Or maybe write an e2e test first, and then write CSS and HTML? Is there such a practice?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question