This project is a testing suite for the WordPress Japanese package.
It is testing for functions of the latest version of wp-multibyte-patch
plugin in combinations of the following environments.
- PHP 5.6 - 7.2
- WordPress nightly and latest. (Include multisite)
$ git clone [email protected]:jawordpressorg/automated-testing-for-wordpress-ja.git
$ cd automated-testing-for-wordpress-ja
$ bash bin/install-wp-tests.sh <db-name> <db-user> <db-pass> [db-host] [wp-version]
$ bash bin/prepare.sh
Then run phpunit.
$ phpunit
-
The length of the excerpt should be 110 in Japanese.
-
The length of the excerpt in RSS should be 110 in Japanese.
-
Double-width space should be used as search delimiter.
-
Email should be encoded with ISO-2022-JP
-
Characters in pingback and trackback should not be broken.
-
The filename which is in Japanese should be encoded md5.
-
The length of comment in dashboard should be 40.
-
The length of draft in dashboard should be 40.
-
Incremental search of link in tinymce should fire from 2 chars.
-
We don't need italic in dashboard.
If you want to run tests manually, please click "Restart build" on the Travis CI.
https://travis-ci.org/jawordpressorg/automated-testing-for-wordpress-ja
Also, the tests are runinng automatically every day by cron.