Welcome Guest, Not a member yet? Register   Sign In
Security and Testing
#7

[eluser]n0xie[/eluser]
[quote author="thomasp" date="1284499794"]Hi,

[quote author="n0xie" date="1263407782"]
We don't. We have found that though TDD is in theorie a nice idea, it is not practical for webdevelopment.[/quote]
I am using CodeIgniter everyday in a 'web-dev' work area and I am not agree with you for that.
In heavy or long support projects, when there are some developers who works together on the same sources, sometimes a new features break some old features and unit testing can permit to check these sort of issue/regression.[/quote]
Can you give me an example?

If you decouple your controllers from your models, this by definition should prevent any form of 'breakage'. For one if you change code in the controller, it shouldn't affect the model call. In the reverse case, working on a model, you only have 1 entry point. You should be able to edit the model any way you want without affecting your application, as long as the return value type is the same.


Messages In This Thread
Security and Testing - by El Forum - 01-11-2010, 12:12 PM
Security and Testing - by El Forum - 01-11-2010, 01:03 PM
Security and Testing - by El Forum - 01-13-2010, 06:18 AM
Security and Testing - by El Forum - 01-13-2010, 06:36 AM
Security and Testing - by El Forum - 06-16-2010, 09:27 AM
Security and Testing - by El Forum - 09-14-2010, 10:29 AM
Security and Testing - by El Forum - 09-14-2010, 05:02 PM
Security and Testing - by El Forum - 09-14-2010, 07:22 PM
Security and Testing - by El Forum - 09-15-2010, 02:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB