4 ms·
I usually just test the addition/subtraction of a class, and don't test the purely visual elements.
by kaonashi 13y ago
I 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.