Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to test coverage #340

Merged
merged 51 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5dfc5b4
Update all packages, bump msrv to 1.70
GREsau Sep 8, 2024
ce077ba
Add integration test helper
GREsau Sep 8, 2024
3548c84
Port bytes tests to new integration test style
GREsau Sep 8, 2024
ac0971c
Port arrayvec tests to new integration test style
GREsau Sep 8, 2024
d3d6218
Port bound test to new integration test style
GREsau Sep 8, 2024
1208387
Port chrono test to new integration test style
GREsau Sep 8, 2024
bdddef0
Port contract tests to new integration test style
GREsau Sep 8, 2024
41f2e84
Port crate alias test to new integration test style
GREsau Sep 8, 2024
d3cd32f
Port rust_decimal/bigdecimal tests to new integration test style
GREsau Sep 8, 2024
c96aba1
Port "deprecated" tests to new integration test style
GREsau Sep 8, 2024
ca14ed6
Port "default" tests to new integration test style
GREsau Sep 8, 2024
9f4b0c1
Fix rust 1.70 build
GREsau Sep 9, 2024
d8a6114
Port docs tests to new integration test style
GREsau Sep 9, 2024
a686d6a
Port "either" tests to new integration test style
GREsau Sep 9, 2024
8bcb347
Port enum_repr tests to new integration test style
GREsau Sep 9, 2024
8befefa
Port (most) enum tests to new integration test style
GREsau Sep 9, 2024
44ca292
Port more enum tests to new integration test style
GREsau Sep 9, 2024
cc2e400
Reword comment to be less snarky
GREsau Sep 9, 2024
a25af76
Port enum flatten tests to new integration test style
GREsau Sep 9, 2024
fd16576
Fix cargo lock file after bad merge
GREsau Sep 9, 2024
e33f9c1
Port std::* tests to new integration test style
GREsau Sep 9, 2024
fd87c7a
Port `extend` tests to new integration test style
GREsau Sep 10, 2024
62b7587
Port `flatten` tests to new integration test style
GREsau Sep 11, 2024
8652bce
Port `from_value` tests to new integration test style
GREsau Sep 11, 2024
7310b48
Port garde tests to new integration test style
GREsau Sep 11, 2024
6ec61e8
Update jsonschema
GREsau Sep 11, 2024
6014146
Port indexmap tests to new integration test style
GREsau Sep 11, 2024
dbd8a22
Port inline_subschemas tests to new integration test style
GREsau Sep 11, 2024
3b676d4
Port macro-built-types tests to new integration test style
GREsau Sep 11, 2024
9cac2a1
Port nonzero tests to new integration test style
GREsau Sep 11, 2024
3c24ae9
Port semver tests to new integration test style
GREsau Sep 11, 2024
484afd3
Port same_name test to new integration test style
GREsau Sep 11, 2024
fd9c7b9
Remove ineffective no_std test
GREsau Sep 11, 2024
9dc98c3
Port validator tests to new integration test style
GREsau Sep 11, 2024
c16a901
Port smallvec tests to new integration test style
GREsau Sep 11, 2024
70485aa
Port uuid test to new integration test style
GREsau Sep 12, 2024
26c26bd
Port url test to new integration test style
GREsau Sep 12, 2024
828ec95
Port smol_str test to new integration test style
GREsau Sep 12, 2024
c773b39
Port `transform` tests to new integration test style
GREsau Sep 12, 2024
c442a7a
Port `struct` tests to new integration test style
GREsau Sep 14, 2024
94d3459
Add integration tests for more std types
GREsau Sep 14, 2024
0418697
Update jsonschema
GREsau Sep 14, 2024
88eb609
Port remote derive tests to new integration test style
GREsau Sep 14, 2024
cf7f4b1
Make test schemas stricter
GREsau Sep 14, 2024
e621bdb
Port `transparent` tests to new integration test style
GREsau Sep 15, 2024
cd97305
Port rename tests to new integration test style
GREsau Sep 15, 2024
a927da6
Port `schema_with` tests to new integration test style
GREsau Sep 15, 2024
f17d3d6
Port `schema_settings` tests to new integration test style
GREsau Sep 15, 2024
5ae8cdd
Port `skip` tests to new integration test style
GREsau Sep 15, 2024
74b0975
Port examples tests to new integration test style
GREsau Sep 16, 2024
e48323c
Use single snapshot file when ser/de schemas are identical
GREsau Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
rust:
- 1.65.0
- 1.70.0
- stable
- beta
- nightly
include:
- rust: 1.65.0
- rust: 1.70.0
allow_failure: false
- rust: stable
allow_failure: false
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

- the `enumset1`/`enumset` optional dependency has been removed, as its `JsonSchema` impl did not actually match the default serialization format of `EnumSet` (https://github.com/GREsau/schemars/pull/339)

### Changed

- ⚠️ MSRV is now 1.70 ⚠️

### Fixed

- The "deserialize" schema for `bytes::Bytes`/`BytesMut` now allows strings, matching the actual deserialize behaviour of the types.
- The schema for `either::Either` now matches the actual serialize/deserialize behaviour of that type.

## [1.0.0-alpha.15] - 2024-09-05

### Added
Expand Down
Loading