Springe direkt: zur Navigationzum Inhaltzur Sidebar

Archiv für 'php'

Data Provider in PHPUnit

28.08.2010

Ein sehr praktisches Feature in PHPUnit ist der Data Provider. Data Provider sind dann hilfreich, wenn ein immergleicher Test auf verschiedene Daten ausgeführt werden soll. So benötigt man lediglich eine Funktion, die den Test enthält sowie eine Funktion, die die Daten bereitstellt (und nicht jeweils eine Funktion pro Daten-Test). Das Beispiel in der Doku von PHPUnit zeigt die Verknüpfung der beiden Funktionen: http://www.phpunit.de/manual/current/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers

QuaaxTMIO

03.08.2010

Some days ago there has been some traffic in QuaaxTM‘s SVN repo. The initial version of the QuaaxTM Topic Maps syntaxes readers/writers library QuaaxTMIO has been committed (located in the lib directory and inherent part of QuaaxTM from now on). QuaaxTMIO is designed to work against PHPTMAPI. Therefore, it is possible to connect this library which is licensed under LGPL with any PHPTMAPI compatible engine.

Initial version comes with an XTM 2.0 reader. This reader uses a PHP port of Lars Heuer‘s Streaming Topic Maps API. Extended QuaaxTM is ready to be checked out (have a look at the lib’s README file e.g. for prerequisites). More readers and writers e.g. for JTM will follow.

More than two months ago the project has released version 0.51 of QuaaxTM. It is recommended to replace 0.5 by 0.51.

P.S. Some of the readers might wonder why the Topic Maps related posts are in English while others (and this Blog in general) are in German. Well, the answer is simple: The TM community is rather small and international. (Do we suffer from inferiority complex? Definitely not :) )

QuaaxTM 0.5 released

24.02.2010

Version 0.5 of PHP Topic Maps engine QuaaxTM has been released yesterday after 0.5a1 has been out for a while. Compared to 0.5a1 engine specific configuration has been separated from basic PHPTMAPI configuration (inspired by Lars Heuer; thanks again). QuaaxTM implements PHPTMAPI 2.0.

PHPTMAPI 2.0 released

16.02.2010

See http://phptmapi.sourceforge.net/ for more information.

You are currently browsing the archives for the php category.

Creative Commons License
This work is licensed under a
Creative Commons Attribution-Share Alike 2.5 License.
t8d blogged mit WordPress