Manual talk:Parser tests


Setting up a testing database[edit]

Hi MediaWiki masters,

I am using MediaWiki source code to develop my website. I wanted to run the test suites as I think continuous integration rocks ! So I started with the php tests/parserTests.php command line to run the parser tests. However this conflicts with my database. It literally suppressed my user table.

Would someone knowledgeable about those test suites could write a Setting a testing database part so everyone can benefit from those already written tests ? It may already exists but I did not find it (yet).

Thanks you in advance for your time and consideration. And BTW, thanks for the awesome open source code you guys are providing. Euloiix (talk) 21:35, 12 December 2012 (UTC)Reply[reply]

same directory for parser and extension tests ?[edit]

In sentence "...tests/parser/ directory. Extensions should place their tests in a tests/parser/ dir." i guess that it is the same directory for parser and for extensions; do you confirm that ? -- Christian 🇫🇷 FR (talk) 20:07, 6 November 2022 (UTC)Reply[reply]

That is correct. SSastry (WMF) (talk) 21:32, 7 November 2022 (UTC)Reply[reply]

T59: inconsistent syntax 'This is expected to be present in all tests is the that... '[edit]

I cannot translate T:59 --> "This is expected to be present in all tests is the that specifies the wikitext to be processed to HTML." Can someone restore the correct sentence please ? Thanks -- Christian 🇫🇷 FR (talk) 19:07, 8 November 2022 (UTC)Reply[reply]

Fixed. SSastry (WMF) (talk) 20:23, 8 November 2022 (UTC)Reply[reply]