Re: PHP-GTK 2 Unit Testing
| From: | Christian Weiske | Date: | Tue, 28 Feb 2006 19:23:22 +0000 |
| Subject: | Re: PHP-GTK 2 Unit Testing | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2458@lists.php.net to get a copy of this message | ||
Scott,
> It is nice to know that when you make a change to GtkWindow that nothing
> else broke. By running the suite of tests after making a change you can
> be sure that get_type() still functions as it should. If you only write
> tests for bugs that have been found, you will always be a step behind.
> If you write tests first you will find the bugs before they get into
> production.
I know the principle behind unit tests and that one should write before
programming the code itself.
So who's gonna write the 3000+ tests?
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc