Avatar of Peter Thomas

Peter Thomas

Distinguished Engineer at Intuit
Distinguished Engineer at Intuit·
Shared insights
on
Karate DSLKarate DSLGitGit
at

Karate DSL is extremely effective in those situations where you have a microservice still in development, but the "consumer" web-UI dev team needs to make progress. Just create a mock definition (feature) file, and since it is plain-text - it can easily be shared across teams via Git. Since Karate has a binary stand-alone executable, even teams that are not familiar with Java can use it to stand-up mock services. And the best part is that the mock serves as a "contract" - which the server-side team can use to practice test-driven development.

READ MORE
The World's Smallest Micro Service - ptrthomas Tech Stack (stackshare.io)
18 upvotes·2 comments·136.1K views
Stephen Fox
Stephen Fox
·
May 23rd 2019 at 12:12AM

Interesting that you saw sharing via Git as a benefit. If I might tell my story:

At my previous company, we had great success with Postman and sharing APIs. It gave a strong contract-driven development loops, without having to touch the code bases.

When it came time to switch to the real APIs, the front-end team just had to change a base URL.

·
Reply
Peter Thomas
Peter Thomas
·
May 23rd 2019 at 6:05AM

That works for some, but not for those who would like to keep all their artifacts WITHIN the firewall.

·
Reply
Distinguished Engineer at Intuit·
Recommends
Travis CITravis CI
at

As the maintainer of the Karate DSL open-source project - I found Travis CI very easy to integrate into the GitHub workflow and it has been steady sailing for more than 2 years now ! It works well for Java / Apache Maven projects and we were able to configure it to use the latest Oracle JDK as per our needs. Thanks to the Travis CI team for this service to the open-source community !

READ MORE
Travis CI - Test and Deploy Your Code with Confidence (travis-ci.org)
9 upvotes·357.7K views