https://github.com/f3ath/json-matcher
JSON Matcher for unit tests
https://github.com/f3ath/json-matcher
dart json matcher testing
Last synced: 9 months ago
JSON representation
JSON Matcher for unit tests
- Host: GitHub
- URL: https://github.com/f3ath/json-matcher
- Owner: f3ath
- License: mit
- Created: 2018-03-11T05:50:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-19T19:13:34.000Z (about 6 years ago)
- Last Synced: 2025-03-25T11:02:30.972Z (10 months ago)
- Topics: dart, json, matcher, testing
- Language: Dart
- Homepage: https://pub.dartlang.org/packages/json_matcher
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## JSON Matchers for unit tests
Provides:
- `encodesToJson()` matcher which checks if the value encodes to expected JSON
- `isJson()` matcher which checks if the string is expected JSON
See the [example](example/main.dart) for more details.