Hi
Dne Mon, 25 May 2015 02:48:02 +0530 Atul Pratap Singh atulpratapsingh05@gmail.com napsal(a):
I share Jason's confusion above and doubt the usefulness of unit tests that are just asserting for static HTML strings in a dynamic HTML output and one that will keep evolving with course of development.
Also I wonder about its importance as we move to template system[0], opinions are welcome for possible better ways of doing it. Maybe we can just test for valid input data getting used by the template and some important key words but not HTML tags[1]
I think the most important thing in these tests is that they run without error. We might also add some extra validation of the output (like being valid HTML and possibly check for some words).