Testing APIs the Hypermedia way
summary
A domain-specific test runner called hybridize DSL drives tests by starting from a given URI, following links and invoking operations described in the representation rather than hard-coded URLs, targeting Hydra/json-ld controls. It uses Eclipse Xtext and compiles to JSON for execution, can create and delete resources to set preconditions and clean up, runs against production-like APIs under development, and flags limitations: no control-flow constructs, a compile step, and scenarios that silently skip steps when preconditions already exist.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:15About me
- 0:47Agenda
- 1:19REST Fest
- 2:01Kinds of tests
- 4:14Hypermedia aka REST architectural style
- 5:25How to test hypermedia?
- 6:44Hypertest DSL
- 9:18Language Server Protocol
- 10:33Test-first to drive design
- 14:53Lessons learned
- 18:20What's next for hypertest?
related talks
07mNew Ideas: Automated Engineering of Metamorphic Testing Environments for Domain-Specific Languages
44mDesigning Hypermedia APIs
08mExecute tests with HyperExecute's Just In Time Orchestration
43mHydra's Heads – Dmitriy Ivanov
47mProgramming the Web with HyperLANG & HyperCLI
01h 02mHypermedia and the Rest of REST
28mDesigning Hypermedia APIs
43mThe Hypermedia API
