Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1846: Increase test code re-use by moving test support code into separate common library r=newhoggy a=newhoggy Increase test code re-use by moving test support code into separate common `hedgehog-extras` library. * Move generic test code into the new `hedgehog-extras` library with a module structure consistent with its genericity. * Both `cardano-node-chairman` and `cardano-cli` modified to use the new library * Avoid using `System.IO` libraries directly in `cardano-cli` because exceptions cause test annotations to show making tests difficult. Instead use equivalent functions from `hedgehog-extras` * Re-implement `execCardanoCLI` in terms of `execFlex` which has the advantage of not depending on `cabal exec` which occasionally causes problems in terms of pollution of `stdout` Co-authored-by: John Ky <john.ky@iohk.io>
- Loading branch information
Showing
75 changed files
with
825 additions
and
564 deletions.
There are no files selected for viewing
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
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
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
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
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.