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

consider module for JSON assertions #75

Closed
joel-costigliola opened this issue May 22, 2013 · 11 comments
Closed

consider module for JSON assertions #75

joel-costigliola opened this issue May 22, 2013 · 11 comments

Comments

@joel-costigliola
Copy link
Member

No description provided.

twillouer added a commit to twillouer/assertj-core that referenced this issue Jun 2, 2013
@lukas-krecan
Copy link
Contributor

JsonUnit just got support for AssertJ assertions https://github.com/lukas-krecan/JsonUnit

@joel-costigliola
Copy link
Member Author

Interesting ! I'll have a closer look at it.

Thanks

@joel-costigliola
Copy link
Member Author

We should also have a look to JsonPath

@szpak
Copy link
Contributor

szpak commented Feb 2, 2014

I have no experience with JsonUnit, but Spring MVC supports JsonPath in their assertions and it worked fine in my use cases. As I read also rest-assured supports assertions with JsonPath.

@wimdeblauwe
Copy link
Contributor

+1 for this. Any progress on it ?

@joel-costigliola
Copy link
Member Author

Not a lot I'm afraid, contributors welcome !

@joel-costigliola
Copy link
Member Author

We should also have a look at https://github.com/skyscreamer/JSONassert to have a complete state of the art of JSON assertions.

@lukas-krecan-gdc
Copy link

There is a support for fluent assertions in https://github.com/lukas-krecan/JsonUnit

@joel-costigliola
Copy link
Member Author

That is an option we will evaluate and if we are happy with it, then we might just use it instead of creating an assertj module for JSON.

@joel-costigliola
Copy link
Member Author

There are already good alternatives.

@obfischer
Copy link
Contributor

+1

scordio pushed a commit that referenced this issue Jul 29, 2022
Bumps `mockito.version` from 3.5.10 to 3.5.11.

Updates `mockito-core` from 3.5.10 to 3.5.11
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.5.10...v3.5.11)

Updates `mockito-inline` from 3.5.10 to 3.5.11
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.5.10...v3.5.11)

Updates `mockito-junit-jupiter` from 3.5.10 to 3.5.11
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v3.5.10...v3.5.11)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
scordio added a commit that referenced this issue Nov 20, 2022
* Bump assertj-core from 3.19.0 to 3.20.0

Bumps [assertj-core](https://github.com/assertj/assertj-core) from 3.19.0 to 3.20.0.
- [Release notes](https://github.com/assertj/assertj-core/releases)
- [Commits](assertj-core-3.19.0...assertj-core-3.20.0)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix expected error messages

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stefano Cordio <stefano.cordio@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants