Skip to content

Commit

Permalink
feat: directb2s improvements (#12)
Browse files Browse the repository at this point in the history
* wip: read-write integration tests and fixes
* document running the integration tests
  • Loading branch information
francisdb authored Oct 20, 2023
1 parent fbe4784 commit bffebf2
Show file tree
Hide file tree
Showing 7 changed files with 561 additions and 122 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ serde = { version = "1.0.188", features = ["derive"] }
serde_json = { version = "1.0.107", features = ["preserve_order"] }
utf16string = "0.2.0"
quick-xml = { version = "0.30.0", features = ["serialize"] }
serde_repr = "0.1.16"

[dev-dependencies]
dirs = "5.0.1"
pretty_assertions = "1.4.0"
rand = "0.8.5"
rayon = "1.8.0"
testdir = "0.8.1"
walkdir = "2.4.0"

roxmltree = "0.18.1"
testresult = "0.3.0"
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ https://github.com/francisdb/vpxtool
* VPForums https://www.vpforums.org/
* Virtual Pinball Chat on Discord https://discord.com/invite/YHcBrtT

## Running the integration tests

We expect a folder `~/vpinball/tables` to exist that contains a lot of `vpx` and `directb2s` files. The tests will recursively search for these files and run the tests on them.

```bash
cargo test --release -- --ignored --nocapture
```

## Making a release

We use https://github.com/MarcoIeni/release-plz which creates a release pr on every commit to master
Loading

0 comments on commit bffebf2

Please sign in to comment.