forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor E2E CLI runner. (FuelLabs#3294)
Now output handling is done in an uniform manner for all kinds of tests and makes it possible to implement better developer experience. Now the output is hidden by default for all tests, and only shown up when a particular test is failing (indented so its easier to parse). Failure handling is also more robust, with all tests being executed by default, and failures being reported as they happen and in the summary report at end of execution. There are still a couple panics here and there for more esoteric errors, but those can be easily be transformed to errors in the future as need arises. Previous behavior of showing all output can be obtained by passing the `--verbose` flag to the runner. The only exception are the IR tests which still panic. However their summary report was updated to match the improvements from above. Closes FuelLabs#3060. Example of new output with failed test report because `fuel-core` is not running:  Co-authored-by: Mohammad Fawaz <[email protected]>
- Loading branch information
1 parent
c462cbc
commit 4fe5a38
Showing
6 changed files
with
276 additions
and
169 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.