Skip to content

Commit

Permalink
tests: integration tests for pmonitor
Browse files Browse the repository at this point in the history
Rewriting the bash script in cargo because I'm running them a lot and
will continue to run them a lot before merge.

Includes generating genesis allocations, and full validation of happy
path. Next up, let's write some test cases we expect to fail.
At some point these tests should be refactored to use a test mod.rs so
the setup/teardown code is more easily reusable.
  • Loading branch information
conorsch committed Oct 8, 2024
1 parent 45b91cd commit 75938f0
Show file tree
Hide file tree
Showing 4 changed files with 425 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions crates/bin/pmonitor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ tracing = {workspace = true}
tracing-subscriber = { workspace = true, features = ["env-filter", "ansi"] }
url = {workspace = true, features = ["serde"]}
uuid = { version = "1.3", features = ["v4", "serde"] }

[dev-dependencies]
assert_cmd = {workspace = true}
once_cell = {workspace = true}
tempfile = {workspace = true}
Loading

0 comments on commit 75938f0

Please sign in to comment.