https://pretalx.evolutio.pt/djangocon-europe-2022/talk/AFYRWB/
WORKSHOP: Automated Integration Testing and Live Documentationfor your Django APIsDjangoCon EU 2022 - PortoCamila Maia
View Slide
You can this presentation at:speakerdeck.com/cmaiacd
Who am I?
Backend Developer @
Coding since 2010👵
Python 🐍 and Ruby 💎
Community ❤
Motivation
Everything started in a week which I asFirefighter 🔥
Integration Errors 💥Client sending fieldsdifferent than what’sexpectedFrontend receiving fieldsdifferent than what’sexpected
Missing endpointsMissing fieldsMisinformationOutdated documentation 📜
/book/:seat_idflight_id? airplane_id?passenger_id?Is the airplane available?????Hard to recreate complex scenarios 😤
What is it?
Open Source FramexworkCommand Line Interface (CLI)Written in Python
1. Provide a Live Documentation
2. Tool to implementIntegration Tests
Specification Files ReportFor each request:- Hit the endpoints- Run the tests
Why should I use ScanAPI? 7 reasons!
1. It works for any REST API,it doesn't matter how itwas built
2. It is extremely useful fortesting and documentingboth owned and third-partyAPIs
3. It is possible to chainrequests, which is essentialfor testing complexscenarios
4. The documentation isautomatically generated, itnever gets outdated
5. It is simple
6. It is flexible
7. There is nothing in themarket that does whatScanAPI does!
+1.5k+ 1.2k ⭐
scanapi.dev Tutorialgithub.com/camilamaia/scanapi-tutorial
GitHub- https://github.com/scanapiTwitter- @ScanAPI_Discord- discord.scanapi.devCommunication
github.com/scanapi❤
Let’s use it!
And share it! 🚀
THANK YOU!@cmaiacd camilamaiacmaiacd.com