Reputation: 4859
Is it possible to use Karate with pycharm? If not, what is the best alternative to Karate for python tornado REST APIs?
https://github.com/intuit/karate
Upvotes: 1
Views: 4396
Reputation: 58128
Karate can be used to test any web-service that works over HTTP. Teams are currently using it for JSON, XML, GraphQL and SOAP.
In my opinion technology does not matter, in fact Karate's syntax is 80% "language neutral" and 20% JS. Java is optional. And it fits into all CI tools because it generates JUnit formal XML reports and even HTML reports.
If you are choosing not to use Karate because the server is implemented in Python or if the dev-team is supposedly more "comfortable" with Python, I personally do not agree with that decision.
PyCharm (if you are referring to the IDE) is made by JetBrains, the makers of IntelliJ - which has excellent built-in support for Cucumber and hence Karate syntax also. I have not checked, but it is highly likely that PyCharm supports Cucumber syntax also.
EDIT: I'll add a few more options, the stand-alone executable which works well in combo with Visual Studio Code for which dedicated plugins have started to appear.
For a video of what the dev-experience looks like for someone who is coming from a JavaScript background, see this 10 minute lightning talk with demos.
Upvotes: 1