Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 03 2018 08:31
    marcingrzejszczak commented #30
  • Dec 02 2018 12:44
    adamsiemion opened #30
  • Jul 13 2018 13:53

    marcingrzejszczak on jsonassert-0.4.13

    (compare)

  • Jul 13 2018 13:53

    marcingrzejszczak on master

    Release version: 0.4.13 [ci sk… Release version: 0.4.13 [ci sk… Release version: 0.4.13 [ci sk… (compare)

  • Jul 13 2018 12:23
    marcingrzejszczak closed #28
  • Jul 13 2018 12:23
    marcingrzejszczak commented #28
  • Jul 13 2018 12:23
    marcingrzejszczak labeled #28
  • Jul 13 2018 12:23
    marcingrzejszczak milestoned #28
  • Jul 13 2018 12:22

    marcingrzejszczak on master

    the .isEmpty() method crashed w… (compare)

  • Jul 13 2018 12:22
    marcingrzejszczak closed #29
  • Jul 13 2018 12:20
    marcingrzejszczak milestoned #29
  • Jul 13 2018 12:20
    marcingrzejszczak labeled #29
  • Jul 13 2018 12:19
    kaidowei opened #29
  • Jul 13 2018 11:53
    kaidowei opened #28
  • Apr 12 2018 10:36

    marcingrzejszczak on jsonassert-0.4.12

    (compare)

  • Apr 12 2018 10:36

    marcingrzejszczak on master

    Release version: 0.4.12 [ci sk… Release version: 0.4.12 [ci sk… Release version: 0.4.12 [ci sk… (compare)

  • Apr 12 2018 10:22

    marcingrzejszczak on master

    Bumped plugins (compare)

  • Apr 12 2018 10:20

    marcingrzejszczak on marcingrzejszczak-patch-1

    (compare)

  • Apr 12 2018 10:20
    marcingrzejszczak closed #27
  • Apr 12 2018 10:20
    marcingrzejszczak opened #27
Chris Suszynski
@cardil
Hej Marcin, wykorzystałem twoją bibliotekę JSONAssert w opisie mojej nowej biblioteki - "Gasper". Mam nadzieję, że nie masz nic przeciwko. Dziś ją napisałem więc jeszcze nie ma jej w Mavenie. Może Ci się przydać przy pracy z mikro serwisami: https://github.com/wavesoftware/java-gasper
Marcin Grzejszczak
@marcingrzejszczak
Siema
Bardzo mi Milo :)
Let's switch to English
Can you say sth more about testing spring boot apps with your tool?
Chris Suszynski
@cardil
Yeah. I'ts really simple. This is just a server executor that automates starting and stoping your java -jar application. You can configure it easy with builder interface.
It is made to be used as JUnit rule - class or test. Also you can use JUnit suite runner to run multiple test in this simple "container"
To setup for spring app, just type: @ClassRule public static Gasper gasper = Gasper.configuration().springBoot().build();
Marcin Grzejszczak
@marcingrzejszczak
Why not just run the app with standard spring boot test classes?
Chris Suszynski
@cardil
It will run your builded jar application from target, folder
Marcin Grzejszczak
@marcingrzejszczak
Ah ok
So it's testing a packaged app
Can you configure the target folder? Cause it won't with for Gradle
Chris Suszynski
@cardil
I written is mostly for WildFly Swarm, but I also added support for Spring.
Marcin Grzejszczak
@marcingrzejszczak
Cool
Chris Suszynski
@cardil
Yes. You can setup target folder. Right now it parses pom.xml for zero configuration. Maybe I will add also support for Gradle. Hmm...
Marcin Grzejszczak
@marcingrzejszczak
Btw I'll try to extend jsonassert to support more json path stuff. Regex for booleans and numbers
There are also filters but I will do it once someone files an issue :P
Chris Suszynski
@cardil
Nice :smile:
Marcin Grzejszczak
@marcingrzejszczak
@all - Jsonassert 0.2.1 got released with bug fix + assertJ support. Also the groupids have changed so check out the migration guide - https://github.com/marcingrzejszczak/jsonassert#migrations
Chris Suszynski
@cardil
Today I've used jsonassert for acceptance testing of my new OSS project. It worked like a charm. Flawlessly. Thanks!
Marcin Grzejszczak
@marcingrzejszczak
Sweet
Which version ? 0.3.0 ?
Chris Suszynski
@cardil
BTW I run into name conflict with the other jsonassert :-P maybe changing name will prevent this. AssertJSON. More like AssertJ ^^
Marcin Grzejszczak
@marcingrzejszczak
There is another method assertThatJson
Chris Suszynski
@cardil
I think newest version
Marcin Grzejszczak
@marcingrzejszczak
To prevent the name clash
And there is an assertj module if you want to use assertj
Chris Suszynski
@cardil
BTW I really like the flexibility for checking in arrays
Gr8 thing
Marcin Grzejszczak
@marcingrzejszczak
Happy to hear that :)
Denis Stepanov
@dstepanov
Can I use JsonAssert to compare two strings?
Marcin Grzejszczak
@marcingrzejszczak
meaning?
JsonAssert is for assertion of a JSON
Denis Stepanov
@dstepanov
Checking if JsonAssert can do something like org.skyscreamer.jsonassert.JSONAssert.assertEquals
Marcin Grzejszczak
@marcingrzejszczak
no
Marcin Grzejszczak
@marcingrzejszczak
it's a fluent API to check elements of JSON
Denis Stepanov
@dstepanov
Ok ;)
farshidkeshavarz
@farshidkeshavarz
HI
is there a way to check Response Header value via Regex?
via matchingrules
Marcin Grzejszczak
@marcingrzejszczak
jsonassert asserts jsons
farshidkeshavarz
@farshidkeshavarz
I am using Json Pact file and it's converted to java class by spring-cloud-contract-spec-pact plugin
Marcin Grzejszczak
@marcingrzejszczak
farshidkeshavarz
@farshidkeshavarz
is there another room to ask those type of questions?
Marcin Grzejszczak
@marcingrzejszczak
farshidkeshavarz
@farshidkeshavarz
@marcingrzejszczak thanks.. I will post my question there