From 6c23007a79caf0fe04df868f84af163e88a528c8 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Tue, 15 Jun 2021 12:42:37 -0700 Subject: [PATCH] Clarify filtering instructions (#15724) --- test/smoke/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke/README.md b/test/smoke/README.md index b213445924..3131414464 100644 --- a/test/smoke/README.md +++ b/test/smoke/README.md @@ -63,7 +63,7 @@ the web server folder which includes the web client bits (e.g. `vscode-server-da ### Debug - `--verbose` logs all the low level driver calls made to Code; -- `-f PATTERN` (alias `-g PATTERN`) filters the tests to be run. You can also use pretty much any mocha argument; +- `-f PATTERN` (alias `-g PATTERN`) filters the tests to be run. This is sent to Mocha as the [grep](https://mochajs.org/api/mocha#grep) option, typically you can just use a simple string of the test name to filter down to just that test (e.g. `test -f "My Test Name"`) - `--screenshots SCREENSHOT_DIR` captures screenshots when tests fail. ### Develop