Re: A few questions about scripting
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <3da3d720c0b56ef2ded327af6eb8a8ae.squirrel@webmail.iguanademos.com> |
Jon Watte wrote: > The rule is: "If you care if it breaks, it needs a test to make sure > it doesn't." And if you don't care if it breaks, then why are you writing > it at all? The biggest blockers I always found for unit tests in scripting code are in fact two of scripting´s main strengths: - Scripts written by designers, not software engineers. The discipline and rigor necessary for developing and maintaining unit tests is well beyond their skill (and concern). - Iteration time on scripts is quick and rather unpredictable in scope. Unit tests would need constant updating, which would get in the way of this ability to iterate fast. While I obviously won´t say unit testing is impossible in this environment, I´ll stick with "impractical in most cases." -- Javier Arevalo http://www.iguanademos.com/Jare _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com