Hi guys,

coming from strong test-driven development background I'm bit sad that in our 
Cloud Engine test we don't do testing as much as we could. Now we could 
polemize if the testing is so important so let's do that. I'm strong believer 
(with common-sense) and proponent of test driven development, but that's not 
what I want for you and for the project.

The fact that I prefer TDD with RSpec/BDD style of testing is my choice and I 
don't mind if somebody does it different way, but hey they at least write good 
tests. Having to write tests before the code is just matter of choice but 
writing test for the code is *must*. 

Why *must*? :-)

More code, more people we add to the project more we have to explain, teach, 
"control" what gets in.  With all that it will take more and more time to do 
our job. We as a team want to keep the velocity of our work as high as 
possible. And testing our codebase is one of the great ways to do that. I'm 
fully aware of that just testing ins't enough. But looking at the code I know 
we don't do any good job. A lot of us are not writing tests at all. Most of us 
not checking the tests they broke. Most of us don't care about green build at 
all. Too bad.

I would like you to encourage you to get better and more disciplined writing 
better code by writing it altogether with tests.

Tests will help you to:
1) make sure whatever you write is correct
2) document the code for others 
3) do refactoring faster and also help you make sure u didn't broke anything 
what was working before
4) keep all your coworkers happy that you didn't broke their code
5) be better programmer ;)

To emphasize the need for tested code let me say that "It's not only about you 
anymore but about us.". Let's make life of the team and each other easier.

Feedback, critique, comments, opinions very appreciated.

Next week I want to write more about the way we test and try to get us all on 
the same level of testing if possible.

-- Ladislav
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to