From 825603c8d0c9a9dae521f12eea90cd11ae604190 Mon Sep 17 00:00:00 2001 From: Ken Rickard Date: Thu, 9 Nov 2023 14:24:39 -0500 Subject: [PATCH] Updates README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8ffffe..f9b5f49 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ your site. The purpose is to automatically load URLs in order to track PHP versi Suppose we have a Drupal 9.3 site running on PHP 7.4. We would like to do the following: -* Confirm that it will run without error on PHP 8.1. +* Confirm that it will run without error on PHP 8.2. While code analysis tools like [Drupal check](https://github.com/mglaman/drupal-check) can help review code for errors, we would also like to ensure that pages load as expected without PHP errors, warnings, or notices. @@ -19,6 +19,9 @@ While code analysis tools like [Drupal check](https://github.com/mglaman/drupal- * Run a test * `drush tester-crawl http://example.com` * Note that you must supply the URL to the site root. No trailing slash is required. +* If you are running a default install, the `--admin` flag will log the tester in as user 1 using `admin/admin`. +* You may instead pass a `--user` and `--password` combo to login. +* For more, run `drush help tc` The command is aliased to `tc`, so this works as well: @@ -30,7 +33,7 @@ The module comes with four sets of base tests: * Crawl the home page, a 403 page, and a 404 page. * Crawl all node pages. -* Crawl all internal menu links that do not require arguments. +* Crawl all internal menu links that do not require arguments or tokens. * Crawl all user pages. ## History