~/talk

Using a Martial Art to do Tests

Talkat XtremeJ 2024 · on Tuesday, 2024-11-05· [testing]
links:none on file
slides:none on file

Karate provides BDD-style HTTP tests that stay language- and framework-agnostic and run against real services (example project uses Docker Compose and a microservice + DB). Tests use Gherkin-like syntax with Scenario / Given / When / Then, can load large JSON fixtures with a read(file) function to avoid duplication, match dynamic fields with wildcards (notnull, number, string), produce HTML reports per-run, and reuse features; it also generates Gatling simulations to assert e.g. 90% of requests <1s.

AI-written summary · about

  1. 0:00Introduction to Karate tests
  2. 1:29Problem with integration tests
  3. 2:35What is BDD?
  4. 4:02BDD libraries overview
  5. 5:50Why use Karate?
  6. 7:37Karate syntax basics
  7. 9:27Setting up Karate project
  8. 12:22Running tests with Karate
  9. 14:09Modifying test configuration
  10. 15:59Creating test scenarios
  11. 17:05Reusing JSON responses
  12. 19:11Testing different endpoints
  13. 20:16Handling multiple requests
  14. 21:22Dynamic values with wildcards
  15. 22:27Performance testing with Gatling
  16. 25:45Running performance tests
  17. 26:50Analyzing performance results
  18. 27:13Best practices summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.