3 ms·
I fully TDD all aspects of web UI's -- what parts do you find difficult?
by kaonashi 13y ago
I fully TDD all aspects of web UI's -- what parts do you find difficult?
- pjmlp 13y agoHow do you TDD CSS and dynamic transitions on the UI, according to the target browser layout, in all devices request by customers? For example, TDD a CSS responsive transition among Chrome, Safari, IE, iOS, Android, WP, TV settop boxes across multiple resolutions.
- kaonashi 13y agoI usually just test the addition/subtraction of a class, and don't test the purely visual elements.
- pjmlp 13y agoSo you just contradict yourself? So you don't really test all aspects of web UI's.
- kaonashi 12y agoI suppose you're correct. We are starting to do some image-diff based regression testing, but I'm not sure that anyone really does css TDD. TDD is in large part about getting the feedback-loop cycle as quick as possible while you're developing. JS unit and integration testing can help with the functional aspects, but visual aspects are better paired with a tool like livereload.