From 77ffdcd533117e5ea60cdee9561f114bbbdb7687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Taylor?= Date: Tue, 25 Jun 2024 09:13:26 +0200 Subject: [PATCH 1/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andrés Taylor --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e0ecf61..835865c 100644 --- a/README.md +++ b/README.md @@ -85,12 +85,13 @@ Usage of ./vitess-tester: Get output in an xml file instead of errors directory ``` -By default, it connects to the MySQL server at 127.0.0.1 with root and no password, and to the vtgate server at 127.0.0.1 with root and no password: +It will bring up a MySQL server and a vtgate server on 127.0.0.1, both with root and no password configured. ```sh ./vitess-tester # run all the tests -./vitess-tester example # run a specified test -./vitess-tester example1 example2 example3 # seperate different tests with one or more spaces +./vitess-tester t/example.test # run a specified test +./vitess-tester t/example1.test t/example2.test t/example3.test # seperate different tests with one or more spaces +./vitess-tester t/*.test # wildcards can be used ``` ## Contributing From 2d815c43ab50eebeba6cfb9e5f26a895779c6c5c Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Tue, 25 Jun 2024 08:26:25 -0600 Subject: [PATCH 2/2] Enhance README Signed-off-by: Florent Poinsard --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 835865c..89aa714 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Vitess tester tests Vitess using the same test files as the [MySQL Test Framewor ## Install ``` -go install github.com/vitessio/vitess-tester/src/vitess-tester@latest +go install github.com/vitessio/vitess-tester@latest ``` ## Testing methodology @@ -85,13 +85,13 @@ Usage of ./vitess-tester: Get output in an xml file instead of errors directory ``` -It will bring up a MySQL server and a vtgate server on 127.0.0.1, both with root and no password configured. +It will bring up an entire Vitess cluster on 127.0.0.1, unsharded or sharded depending on the `-sharded` flag. MySQL and VTGate both start with root and no password configured. ```sh -./vitess-tester # run all the tests ./vitess-tester t/example.test # run a specified test -./vitess-tester t/example1.test t/example2.test t/example3.test # seperate different tests with one or more spaces +./vitess-tester t/example1.test t/example2.test t/example3.test # separate different tests with one or more spaces ./vitess-tester t/*.test # wildcards can be used +./vitess-tester https://raw.githubusercontent.com/vitessio/vitess-tester/main/t/basic.test # can also be run against an URL ``` ## Contributing