Manual talk:Parser tests
Setting up a testing database
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)
same directory for parser and extension tests ?
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)
- That is correct. SSastry (WMF) (talk) 21:32, 7 November 2022 (UTC)
T59: inconsistent syntax 'This is expected to be present in all tests is the that... '
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)
- Fixed. SSastry (WMF) (talk) 20:23, 8 November 2022 (UTC)