Skip to content

Commit

Permalink
test: add schema validation to roundtrips (#806)
Browse files Browse the repository at this point in the history
requires minor fixes to schema

use json rather than rmp for tests for debuggability
  • Loading branch information
ss2165 authored Jan 15, 2024
1 parent cee16b4 commit 57d840c
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 148 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ strum_macros = "0.25.3"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
rstest = "0.18.1"
rmp-serde = "1.1.1"
webbrowser = "0.8.10"
urlencoding = "2.1.2"
cool_asserts = "2.0.3"
insta = { version = "1.34.0", features = ["yaml"] }
jsonschema = "0.17.1"

[[bench]]
name = "bench_main"
Expand Down
2 changes: 2 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ in
(with pkgs.darwin.apple_sdk; [
frameworks.CoreServices
frameworks.CoreFoundation
# added for json schema validation tests
frameworks.SystemConfiguration
]);

# https://devenv.sh/scripts/
Expand Down
Loading

0 comments on commit 57d840c

Please sign in to comment.