Hi developers, SMW now has a virtual storage implementation that generates testing data without requiring a semantic database. You can switch it on by using
$smwgDefaultStore = SMW_STORE_TESTING; in your LocalSettings.php. The effects are as follows: * No read or write access to your database is done by SMW (currently this is not quite true since some features [e.g. inline queries] still bypass the new implementation, but this will change). * Each reading request to the store (using the new storage access functions) will return a lot of data that you can use for testing. We might also be able to adjust the data to specifically return "problematic" values in order to stress test your code. * The datatype of attributes is not random, but is defined by looking for key-phrases in an attribute's name. E.g. an attribute called "testint" will get type integer. The key phrases are "int", "float", "coords", "date", and "enum". All other attributes are assumed to be strings. * The testing store respects all options for storage access (limits, offsets, sorting, string matching, ...). You can use the new implementation to test new code even on an empty wiki (or on one that does not include "challenging" data). This should be especially useful for testing all kinds of browsing/searching/UI features. Cheers, Markus -- 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
pgpTooRHAa9wO.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel