User tests: Successful: Unsuccessful:
move com_finder from cli to console command
php cli/joomla.php finder:index purge
to index and rebuilds
php cli/joomla.php finder:index
to index only
php cli/joomla.php finder:index --pause=10
to index with a pause of 10 seconds
php finder_indexer.php --purge
php cli/joomla.php finder:index purge
yes
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
?
|
I have tested this item
In the testing instructions the before test is incomplete - it should be php cli/finder_indexer.php --purge
And the first of the Testing Instructions has a stray p - php cli/joomla.php finder:indexp purge
In the second test I got a skipping pause message so I guess there is a default pause
- Skipping pause, as previous batch had a very low processing time (0.134s < 1s)
But all worked as described. I did not understand the PHPCS link.
I did not understand the PHPCS link.
@ceford For every pull request, automatic tests like e.g. unit tests or system tests are run, and also code style tests (PHP, javasript, scss, ...). The results to the tests can be found on GitHub at the bottom of each PR in a section for the checks. If all checks were successfukll, that box is hidden, but it can be expanded with the link "Show all checks". There you see all checks, failed ones marked with a red mark. The link "Details" right beside each check leads to a page with a log file, where you can see at the left hand side which step of a test has failed, in this case it was "PHPCS". By clicking on the failed test step you can see then details about the failures. I had linked the log of the PHPCS test for Nicola so he can check and fix. Proper code style is necessary for good maintenance, and passing the PHPCS test is also necessary for later running the (more important) unit and system tests.
pause is skipping cause the elab time is already very low (0.1 sec)
I have tested this item
In the testing instructions the before test is incomplete - it should be php cli/finder_indexer.php --purge
Tested before with:
php cli/finder_indexer.php --purge
Joomla! 4.0.0-beta5-dev Development [ Mañana ] 15-September-2020 19:15 GMT
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-09-26 11:42:01 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
?
|
Thanks
I did not understand the PHPCS link.
@ceford For every pull request, automatic tests like
@richard67 Once again, thank you for the explanation - I see it now and have read a few more articles on testing.
@alikon PHPCS: https://ci.joomla.org/joomla/joomla-cms/35730/1/8