Btw: The new storage abstraction might also be useful for automatic testing: you can create a dummy store implementation that returns test values in order to check the rest of the system without modifying the DB first. This could actually work with MW's regression testing machinery!
-- Markus On Thursday 08 March 2007 14:20, Markus Krötzsch wrote: > On Tuesday 06 March 2007 08:15, S Page wrote: > > We need a test suite, tout de suite! > > Agreed. There will be at least one developer in project Halo who will > investigate means of doing proper unit testing for SMW. > > Concerning the interdependencies of code, I am constantly working on > disentangling this mess. This is also a must for increasing the number of > developers. > > -- Markus > > > E.g. http://bugzilla.wikimedia.org/show_bug.cgi?id=9178 , a feature > > stopped working recently > > > > Or http://bugzilla.wikimedia.org/show_bug.cgi?id=9129 , the proposed > > fix for this changes the way attributes with [[wiki links]] display, but > > we have no tests for how attributes with wiki markup punctuation > > currently work. > > > > I mean to look at > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/tests/ and > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/t/ for ideas we > > can use. But it may be impossible to run SMW files one-by-one outside > > MediaWiki due to all the interdependencies. > > > > Meanwhile I think we should create some pages on ontoworld.org named > > Unit tests/relations, Unit tests/dates, Unit tests/inline queries, etc. > > in [[Category:Unit tests]], and start filling them with > > 'wiki text' 'should result in xxx' > > 'wiki text2' 'should result in yyy' > > etc. There are existing test relations and test attributes in > > [[Category::Testpage]] we can use. > > > > http://en.wikipedia.org/wiki/Unit_testing ! > > http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks#PHP > > > > Regards, > > -- > > =S Page > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Semediawiki-devel mailing list > > Semediawiki-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Markus Krötzsch Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe [EMAIL PROTECTED] phone +49 (0)721 608 7362 www.aifb.uni-karlsruhe.de/WBS/ fax +49 (0)721 693 717
pgphKiMf2NzrC.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel