From 6f674430a97d2c3cacbf8f8a884ca496ce25da6b Mon Sep 17 00:00:00 2001 From: Gokul Kuppan <104197616+gokultw@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:12:22 +0530 Subject: [PATCH] Update README.md (#292) Signed-off-by: Gokul Kuppan --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9dde4b8..ad7ffad 100644 --- a/README.md +++ b/README.md @@ -133,15 +133,16 @@ Report re-generation If report generation fails due to some reason, we don't have to re-run the tests again. -Gauge now generates a last_run_result file in the `.gauge` folder under the Project Root. There is also a symlink to the html-report executable in the same location. +Gauge now generates a last_run_result file in the `.gauge` folder under the Project Root. There is also a symlink to the html-report executable available in /html-report. **To regenerate the report** - Navigate to the reports directory -- run ./html-report --input=last_run_result --output="/some/path" - -**Note:** The output directory is created. Take care not to overwrite an existing directory +- move the `html-report` file to `.gauge` directory +- Navigate to the `.gauge` directory +- run `./html-report --input=last_run_result --output="/some/path"` +**Note:** The output directory is created. Take care not to overwrite an existing directory. The `html-report` executable and `last_run_result` will be generated only if the property `save_execution_result` is set to `true`. While regenerating a report, the default theme is used. A custom can be used if ``--theme`` flag is specified with the path to the custom theme.