diff --git a/docs/3-Contribution/2-Testing.md b/docs/3-Contribution/2-Testing.md index f9940fbb9d..b334213daa 100644 --- a/docs/3-Contribution/2-Testing.md +++ b/docs/3-Contribution/2-Testing.md @@ -3,6 +3,7 @@ - [End-to-end tests](#end-to-end-tests) - [Email](#email) - [Database backup/restore](#database-backuprestore) +- [MySQL shell](#mysql-shell) - [Testing SSO](#testing-sso) ## Test suite @@ -169,6 +170,16 @@ Restore: Note that a "restore" will replace the state of the development database with the state from the backup. +## MySQL shell + +Connect to the MySQL shell to view and interact directly with the contents of the development database. + +To connect via Docker: + +``` +docker-compose exec mysql mysql -uroot -ptoor -Dfleet +``` + ## Testing SSO Fleet's `docker-compose` file includes a SAML identity provider (IdP) for testing SAML-based SSO locally.