Hi Jeroen! I looked at some tests and I see that they are indeed pretty easy to understand and write. I have a question now: how do you fill the database for the tests and clean it up afterwards? Probably we can contribute a little bit to SMW and semantic extensions writing tests.
Still I see that non-unit tests are also useful: by creating mega-form and super-page with all result formats we were able to detect many problems in our extensions and bugs in our skin. ----- Yury Katkov On Thu, Aug 23, 2012 at 11:46 PM, Jeroen De Dauw <jeroended...@gmail.com> wrote: > Hey, > > In an effort to increase quality of SMW (by reducing the amount of bugs) and > facilitating future development (by regression detection) I've been adding > unit tests to SMW. Not that many, but at least we now got some coverage. > Nischyan has also been added a bunch as part of his GSoC project. And I'm > now looking into getting a CI server up running these unit tests and the > Selenium tests Benedikt Kämpgen wrote over a year ago. > > I encourage everyone concerned with the quality of SMW to contribute their > tests in a form that can be used by people working on the software. It's > nice if you spot regressions on your site between releases, but it's way > better to not have these regressions happen in the first place :) > > If anyone has or questions on how to create them, I'd be happy to help you > getting them into SMW. > > > Cheers > > -- > Jeroen De Dauw > http://www.bn2vs.com > Don't panic. Don't be evil. > -- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel