Skip to content

Commit

Permalink
feat(testing): implement current integrations tests as rust tests
Browse files Browse the repository at this point in the history
uses the goldenfile crate to fail tests if the "goldenfile" is changed

merging will require updating both #52 (to add the tests to the CI) and  #50 (to add a test for const numeric enums), or if those are merged first then this will need to be updated.
  • Loading branch information
AnthonyMichaelTDM committed May 8, 2024
1 parent cb3ac30 commit 8be8073
Show file tree
Hide file tree
Showing 3 changed files with 413 additions and 11 deletions.
222 changes: 211 additions & 11 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ state = "0.6.0"

[dev-dependencies]
serde = { version = "1", features = ["derive"] }
goldenfile = "1.7.1"

[lib]
name = "tsync"
Expand Down
Loading

0 comments on commit 8be8073

Please sign in to comment.