Hi devs,
Lets asume each unit (class or whatever standalone piece) is tested and working. How do you guys test those units working together. What tools are you using. Only think I am aware of right now is that I can use simpletest to test frontend, hence somehow testing units working together. What else might you recommend? Do you use unit testing frameworks (phpunit,simpletest etc) for integration testing?
Unit tests done. Then what? Integration test howto?
Moderator: General Moderators
Re: Unit tests done. Then what? Integration test howto?
The SimpleTest web tester is very good.
However I'd recommend always starting with a web test and then working your way down from their. Have you tried test-driven design?
However I'd recommend always starting with a web test and then working your way down from their. Have you tried test-driven design?
Re: Unit tests done. Then what? Integration test howto?
I know all theory behind it but never really able to do in real project. Some day..oh some day I will 
Re: Unit tests done. Then what? Integration test howto?
Think of each behaviour, and write a test/spec for that. If $ObjectA->returnValue() should return an instance of ObjectB, write a test/spec for that. This is the simplest form of an Integration test.
Re: Unit tests done. Then what? Integration test howto?
Yeah, my question was more like are there special libs for integration tests or you use phpunit for example again to test behaviour...like interaction of 3-5 objects.
Re: Unit tests done. Then what? Integration test howto?
Fitnesse if there is a version for PHP. If not, just use SimpleTest, PHPSpec or PHPUnit.