[Phpmyadmin-devel] A problem on template tests
Michal Čihař
michal at cihar.com
Tue May 26 08:42:35 CEST 2015
Hi
Dne Mon, 25 May 2015 02:48:02 +0530
Atul Pratap Singh <atulpratapsingh05 at 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).
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20150526/5ab1ee6a/attachment.sig>
More information about the Developers
mailing list