Skip to content

Commit

Permalink
Update README.md (#292)
Browse files Browse the repository at this point in the history
Signed-off-by: Gokul Kuppan <[email protected]>
  • Loading branch information
gokultw authored Nov 23, 2023
1 parent 7b9582e commit 6f67443
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <gauge_reports_dir>/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.


Expand Down

0 comments on commit 6f67443

Please sign in to comment.