Test automation framework Karate reaches milestone release
Karate 0.9.5 has been released. The test automation framework is open source and was developed as an alternative to Selenium. It combines API test-automation, mocks, performance-testing and UI automation. Let’s take a look at the milestone release that has a new debugger and other updates on board.
While the version number may not sound spectacular at first glance, the release is referred to as “The Big One”—and the UI test automation tool has received breaking changes.
According to the repo, Karate is based on the popular Cucumber/Gherkin standard and provides IDE support as well as syntax-coloring. It does not require Java knowledge and should enable even non-programmers to write tests.
Among other breaking changes, the Karate debugger has been replaced in v0.9.5. The previously used “Karate UI,” which was implemented in JavaFX, is no longer in use.
Instead, the debugger is now part of the Visual Studio Code extension for Karate. This “game changer,” Karate Runner, lets you step through code, but also supports stepping backwards and hot-reloading code. Karate Runner can be pointed to an existing Maven or Gradle project, and it works for both API and UI automation.
In this video posted on Twitter, you can see Karate Runner in action:
so can your UI automation framework hot-reload a debug session and re-play steps ? watch this :)
– debug from VS @Code
– step over / step into / step out
– interactive REPL console (even update variables)
– step back !
– hot reload (yes really :)
coming soon. pic.twitter.com/y3Nt8CUAxL
— Karate (@KarateDSL) August 30, 2019
Bug fixes and more
In Karate 0.9.5, Karate Robot was added for desktop automation as an experimental feature, and you can now “mask” parts of the HTTP log, which should help protect sensitive data.
Among other updates, several bugs have been fixed as well. For example, the issue of Karate log files exceeding OS limits has been addressed and the freezing of Gatling tests has been solved.
See the full release notes for further details.