24.Oct.2011 at 10:44 by Anonymous
Some very useful ideas, although some of them are rather 'unclean'. But that's a matter of taste ;)
Stephan Hochdörfer (22.Oct.2011 at 13:00)
Talk at PHPCon Poland 2011 (English - UK)
Testing software applications with the help of unit testing facilities is an widely-adopted standard in the software development industry today. Even the PHP community provides such tools to automate the testing of PHP applications. Unfortunately there exist legacy applications that are not testable by their internal design. Testing an single component of such an application in isolation is not possible in those cases due to their dependencies on other components. This often leads to the point of manual testing which is cost-intense and error-prone. In the first part of the session it is shown how the dynamic nature of PHP itself can be used to manipulate existing dependencies to be able to test a single component of the application on its own. In the second part of the session an additional layer of abstraction is introduced. By using that layer it is shown how to transform components of the original source code into testable code fragments.
Quicklink: https://joind.in/3922
Slides: Testing untestable code
By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.
If the claim is approved you will be able to edit the information for this talk.
Are you sure?
24.Oct.2011 at 10:44 by Anonymous
Some very useful ideas, although some of them are rather 'unclean'. But that's a matter of taste ;)
24.Oct.2011 at 21:52 by Radosław Benkel
Some nice and smart ideas. But simultaneously some facts, that everybody know, which could be replaced with these, which not everybody knows :)
29.Oct.2011 at 12:37 by Vokiel
So many places where you can put your testing code to test untestable code. I was pleasantly surprised by the solutions and codes. It was difficult topic, but presented in rather clear way.
24.Oct.2011 at 08:49 by Radosław Mejer
I love the way of hacking applications only to make them testable ;)