On Wed, Jul 24, 2013 at 3:10 AM, Marc Ordinas i Llopis marcoil@wikimedia.org wrote:
As Subbu said, I'm currently working on improving the round-trip test server, mostly on porting it from sqlite to MySQL but also on expanding the stats kept (with things like performance, etc.). If you think of some other data we should track, or any new report we could add, we certainly welcome suggestions :) Please open a new bug or add to the existing one: https://bugzilla.wikimedia.org/show_bug.cgi?id=46659
Thanks for working on this! The Parsoid testing infrastructure is pretty awesome.
There are a few things I wish it tested, but they're mostly about how it tests things rather than what data is collected. For instance, it would be nice if the round-trip tests could round-trip from wikitext to HTML *string* and back, rather than to HTML *DOM* and back. This would help catch cases where the DOM doesn't cleanly round-trip through the HTML parser (foster-parenting for instance). It may be that this is already implemented, or that it was considered and rejected, I don't know.
Additionally, it might be helpful to have some tests looking for null DSRs or other broken data-parsoid stuff (because this breaks selser), and/or some sort of selser testing in general (though off the top of my head I'm not sure what that would look like). Another fun serialization test that could be done is stripping all data-parsoid attributes and asserting that this doesn't result in any semantic diffs (you'll get lots of syntactic diffs of course).
Or just drop by #wikimedia-parsoid, I'm marcoil there.
The channel is #mediawiki-parsoid :)
Roan