v0.9.6
What's New
- Windows Desktop app automation - Karate Robot - also see the detailed install guide
- Revamped HTML report (see video)
- Intercept browser HTTP requests in Chrome (see video)
configure callSingleCache
- so that you don't need to wait for a "sign-in flow", every time you re-run a test in dev modedriver.inputFile()
- Chrome-native file-upload- WebDriver support for the new (Chromium based) Microsoft Edge browser
- Improved tree walking in UI tests, e.g.
locateAll()
,parent
,children
etc. - Multiple mock files can be combined into one at run-time (thanks @michaelpro1)
- CLI testing support ! See this thread for details
match
can finally be used in JS with all the power you normally have in feature files, see this thread and some extras to introspect object / data types within JS blockscontains deep
for recursive nested JSON matching (see example)
Breaking Changes
match contains
will not recurse nested items any more, usecontains deep
as explained abovekarate.stop()
now takes a mandatory port number argument, so you can call the same (static)cURL
command to resume, e.g.curl localhost:8080
exists()
API refactored for UI tests, see this thread for details- a
match
with a primitive number on the right-hand-side could incorrectly pass, this should be very rare - see this thread for details - again extremely unlikely and rare, but a backslash (
\
) character was getting swallowed in doc-string (triple-quote) sections, so in case you were escaping them, you don't need to any more (commit details)
For a list of all issues closed in this release, go here.
To keep track of news and releases, follow us on Twitter @KarateDSL or on LinkedIn by joining this group.
Contributors
Thanks to the following rock stars for contributions and pull-requests !
@10twenty4
@a-st
@abhi-rao
@babusekaran
@cueo
@michaelpro1
@maxandersen
@kchopperla
@KostasKgr
@ewexlerr
@joelpramos
@kirksl
@luizvaz
Vote for Karate !
Karate is in the running for "Best Open Source Project" in the HackerNoon "Noonies".
Show your appreciation for Karate by voting here: Best Open Source Project
And here for the lead-developer of Karate (Peter Thomas): Contributor of the Year - OPEN SOURCE.
Thanks !