title: Adoptez le "Swagger Driven Testing" pour tester vos APIs simplement class: animation-fade layout: true
.bottom-bar[ Swagger Driven Testing - @JBWatenberg - #DevoxxFR ]
class: impact
.right[ @JBWatenberg ]
.col-1[
.logo-small[
]
.logo-small[
]
.logo-small[
]
]
.col-11[
Développeur @Société Générale
@JBWatenberg
JeanBaptisteWATENBERG
]
]
.alt[ PLATEFORME DE SERVICES B TO B 360° ]
class: impact
.col-2[ ] .col-8[ .full[ ] ] .col-2[ ]
class: impact
- Une **spécification** - Des **outils**
.condensed-code[
/pet:
post:
tags:
- "pet"
summary: "Add a new pet to the store"
operationId: "addPet"
consumes:
- "application/json"
produces:
- "application/json"
parameters:
- in: "body"
description: "Pet object that needs to be added to the store"
required: true
schema:
$ref: "#/definitions/Pet"
responses:
201:
description: "Pet has been successfully added to the store"
security:
- petstore_auth: ["write:pets", "read:pets"]
]
- Générateurs de code (swagger-codegen)
- Documentation interactive (swagger-ui)
- Ecosystème de composants (validation, aide à la rédaction, etc...)
class: impact
class: impact, full, middle, center background-image: url(./images/code.png)
class: impact, full, middle, center background-image: url(./images/qa.png)
class: impact, full, middle, center background-image: url(./images/user.png)
class: impact, full, middle, center background-image: url(./images/idea.png)
--
class: impact
https://github.com/JeanBaptisteWATENBERG/react-jsonpath-editor
class: impact
.col-4[
.full[
.float-right[
]
]
]
.col-8[
.alt[
Questions ?
]
@JBWatenberg
https://bit.ly/2uVC3jr
https://github.com/JeanBaptisteWATENBERG/
]
Slide 11 : Photo par Markus Spiske sur Unsplash
Slide 13 : Photo par bonneval sebastien sur Unsplash
Slide 14 : Gif par Lidl Voyage sur Giphy
Slide 15 : Photo par Campaign Creators sur Unsplash
Slide 17 : Gif par Lidl Voyage sur Giphy
Slide 18 : Photo par Kristopher Roller sur Unsplash