-
I've written a new `MongoComparisonStrategy` based on the [JSONassert](https://github.com/skyscreamer/JSONassert) project and really find it helps me debug my failing tests a lot quicker.
# Background…
-
I have a usecase where is required to assert two json object which has an array among others fields. As the documentation says the JSONCompareMode.Lenient can apply only for objects.
Somebody is awa…
-
Currently our main use case for testing with the approvals library is some json-outputs, that could be checked also with [JSONassert](http://jsonassert.skyscreamer.org/). As most of the tooling would …
-
https://www.jetbrains.com/help/idea/using-language-injections.html#language_annotation
-
Using JSONAssert library produces the compilation error seen below if 'org.json:json' was not added as a dependency too.
```
cannot access JSONArray
JSONAssert.assertEquals(expected, …
-
https://github.com/skyscreamer/JSONassert/issues/109
Unfortunately, JSONassert library used in snapshotter has an annoying issue therefore it is not possible to ignore fields in arrays. It seems th…
-
At this moment there is no easy way to collect Json asserts in bundle and evaluate it at the end of tests (to show all errors at one test iteration).
There is a way to create custom softly assert b…
-
According to JSONAssert `{"Foo":1} == {"Foo":1.0}`, but `[{"Foo":1}] != [{"Foo":1.0}]`. It seems to be deciding to use the number as a "unique key" to determine object identity within the array, whic…
-
I hope below code is self explanatory. If not:
I am composing a new JSONArray from String a and String b combined in a list. Then I am composing a new JSONArray from a single string which contains …
-
java.lang.module.ResolutionException: Modules android.json and jsonassert export package org.json to module tomcat.embed.core
Because JSONAssert has a dependency on jsonassert, and because it defin…