Dear ILIAS-Devs,
I owe you a protocol and a small summary of the skype session about automated testing we had last weak. You'll find the protocoll in the attachments, I hope everybody feels represented in the notes I took.
From my perspective the meeting was a good start to tackle some unit
testing problems in ILIAS. We talked about our experiences and strategies regarding unit tests and I got the general expression that a lot of shared problems regarding unit tests in ILIAS and in general exist, that we could tackle collectively. We also have a huge variety of experiences that should allow us to bring people with little experience up to speed quite fast. The common request for documentation seems to support that.
On the tool side we all want a mocking framework, which we will decide on collectively via poll. Current options are mockery and the build in tools of PHPUnit. Are there any other proposals for a mocking tool for our tests?
We also discussed the idea of having a file based database driver that would make testing of CRUD classes easier. There was some debate on that topic however, revolving around the correct pattern for testing persistency and alternatives to the file based db driver.
I thank everybody who had time to attend the meeting for the good discussion and the ideas. There will be a follow up in the not too far future. I will take the ideas from the meeting to the TB, discuss the next steps there and will keep you informed about what is happening.
Please visit http://www.ilias.de/docu/goto_docu_frm_5386_4364.html for discussion.
Best regards!