java - The method getPactFile() from the type ConsumerInfo is deprecated -
i've got following 2 lines example: https://github.com/dius/pact-jvm/tree/master/pact-jvm-provider
consumer.setpactfile(new file("target/pacts/ping_client-ping_service.json")); testconsumerpact = (pact) pactreader.loadpact(consumer.getpactfile());
they result in message:
the method getpactfile() type consumerinfo deprecated
what use instead?
thanks in advance.
if looking verify pact provider using junit, can follow 1 instead:
https://github.com/dius/pact-jvm/tree/master/pact-jvm-provider-junit
Comments
Post a Comment