Skip to content

Commit

Permalink
Update README.md with link to Drupal.org docs
Browse files Browse the repository at this point in the history
  • Loading branch information
catch56 authored Sep 19, 2024
1 parent a49be1a commit bcf29fc
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,5 @@

For more information on the phpunit side of things, see [the Drupal core change record](https://www.drupal.org/node/3366904).

For more information [check the documentation](https://docs.google.com/document/d/1lIps5uDwF1sN6662K-J94eRpHBySXV6giMMXODnWezM/edit).

## Prerequisites:
* [Install ddev](https://ddev.readthedocs.io/en/latest/users/install/ddev-installation/) if you haven't already.
* Enable ddev on your local Drupal project.
* Ensure you can already run functional JavaScript tests in the ddev environment. This requires a working chromedriver container as part of your ddev installation. You can run any core functional javascript test without having Gander installed to confirm.

For most use cases, this chrome image should work out of the box:
```ddev get ddev/ddev-selenium-standalone-chrome```

## Getting started
Add Gander and run Drupal's performance tests via Drupal core (assuming [composer is
used](https://www.drupal.org/docs/develop/using-composer/manage-dependencies)):
* `ddev get tag1consulting/ddev-gander`
* `ddev restart`
* `ddev ssh`
* `cd web/`
* To run a single test three times in order to check the Gander installation, ensure you're in the document root first: `for run in 1..3; do ../vendor/bin/phpunit -c core profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php --filter hot; done;`
* To run all OpenTelemetry tests: `../vendor/bin/phpunit -c core --group OpenTelemetry`
* Check the Grafana dashboard via: _http://\<projectname\>.ddev.site:3000/_
For more information and a quickstart guide, [check the documentation on Drupal.org](https://www.drupal.org/docs/develop/automated-testing/performance-tests).

0 comments on commit bcf29fc

Please sign in to comment.