Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
API Testing With Apiary
Search
Adam Kliment
April 16, 2015
Programming
1
250
API Testing With Apiary
API Survival Manual
Apiary.io meet-up SF
4/16/2015 @ Heavybit Industries
Adam Kliment
April 16, 2015
Tweet
Share
Other Decks in Programming
See All in Programming
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
SourceGeneratorのススメ
htkym
0
190
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
250
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
450
AI & Enginnering
codelynx
0
110
組織で育むオブザーバビリティ
ryota_hnk
0
170
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
ThorVG Viewer In VS Code
nors
0
770
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
920
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Designing for humans not robots
tammielis
254
26k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
300
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
Skip the Path - Find Your Career Trail
mkilby
0
53
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
49
A better future with KSS
kneath
240
18k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Building Adaptive Systems
keathley
44
2.9k
Transcript
API Survival Manual — This Guy
None
— Some Other Guy “An API is only as good
as its documentation”
Cliché?
Life saving API * In case of emergency
Call 912 Life saving API * In case of emergency
*
404 “Not Found”
None
Documentation is the UI for an API
How do you test API documentation?
You don’t.
DREDD github.com/apiaryio/dredd
Do your API justice!
Find bad API DX and errors before anyone else does
Design first Use CI Do local TDD Post deployment test
Design first Use CI Do local TDD Post deployment test
FORMAT: 1A HOST: https://cryptic-badlands-8184.herokuapp.com/ # Life saving API # Emergency
[/912] + Attributes + emergency: true # Request first aid [POST] + Request (application/json) + Attributes (Emergency) + Response 201 (application/json; charset=utf-8) + Attributes (Emergency) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Write Blueprint
Design first Use CI Do local TDD Post deployment test
API Testing In Apiary
Design first Use CI Do local TDD Post deployment test
dependencies: pre: - npm install -g dredd test: pre: -
dredd 1 2 3 4 5 6 Continous Integration
Design first Use CI Do local TDD Post deployment test
Apiary Live Testing
Add Post Deploy Hook $ heroku addons:add deployhooks:http \ --url=https://api.apiary.io/apis/
lifesavingapi/tests/environments/default/ trigger
Design first Use CI Do local TDD Post deployment test
All In One Place
github.com/apiaryio/dredd
Thank you!
Do you want to try?
[email protected]
Adam Kliment @ntmlk, @apiaryio