Skip to content

Commit

Permalink
Add cli key root command
Browse files Browse the repository at this point in the history
- Add CLI usage tests for `key` and `key root`
- Add key-root goldens (not externally validated)
- There was a local definition of expectationFailure, using quickchecks's
counterexample, which I had to rename.
I'm not sure why the existing CLI tests uses QuickCheck when they only
run once.
- Isolate the types to one place for power & elegance
- Add functionality to check CliKeyScheme equality & more powerful tests
  • Loading branch information
Anviking committed Feb 26, 2020
1 parent d6f27a7 commit c9fa75e
Show file tree
Hide file tree
Showing 5 changed files with 490 additions and 22 deletions.
3 changes: 3 additions & 0 deletions lib/cli/cardano-wallet-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ library
, fmt
, http-client
, iohk-monitoring
, memory
, servant-client
, servant-client-core
, text
Expand All @@ -69,12 +70,14 @@ test-suite unit
-Werror
build-depends:
base
, bytestring
, cardano-wallet-cli
, cardano-wallet-core
, filepath
, hspec
, optparse-applicative
, QuickCheck
, silently
, temporary
, text
, text-class
Expand Down
Loading

0 comments on commit c9fa75e

Please sign in to comment.