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
Test Driven (web) Configuration
Search
Jérémy Lecour
April 16, 2015
Technology
0
180
Test Driven (web) Configuration
Jérémy Lecour
April 16, 2015
Tweet
Share
More Decks by Jérémy Lecour
See All by Jérémy Lecour
Accélération web avec HAProxy et Varnish
jlecour
0
280
HAProxyConf 2022 – Boost your web-app with HAProxy and Varnish
jlecour
0
150
Let's Encrypt, le trublion du HTTPS
jlecour
0
220
La Suite ELK au service des développeurs et de la production
jlecour
0
880
Après 883 indices quotidiens, ça cherche encore et trouve sans cesse
jlecour
1
210
Elasticsearch - c'est plus que ça en a l'air
jlecour
0
690
Interacting with 3rd party services
jlecour
0
100
Processus et démons sous Unix/Linux
jlecour
0
120
D'une feuille blanche à une affaire rentable
jlecour
0
290
Other Decks in Technology
See All in Technology
AI Agentにおける評価指標とAgent GPA
tsho
1
220
失敗できる意思決定とソフトウェアとの正しい歩き方_-_変化と向き合う選択肢/ Designing for Reversible Decisions
soudai
PRO
8
1.3k
全自動で回せ!Claude Codeマーケットプレイス運用術
yukyu30
3
140
社内ワークショップで終わらせない 業務改善AIエージェント開発
lycorptech_jp
PRO
1
400
バクラクのSREにおけるAgentic AIへの挑戦/Our Journey with Agentic AI
taddy_919
1
430
Windows ネットワークを再確認する
murachiakira
PRO
0
160
オンプレとGoogle Cloudを安全に繋ぐための、セキュア通信の勘所
waiwai2111
3
620
AI活用を"目的"にしたら、データの本質が見えてきた - Snowflake Intelligence実験記 / chasing-ai-finding-data
pei0804
0
790
AI Coding Agentの地殻変動 ~ ai-coding.info の定点観測 ~
kotauchisunsun
1
480
Snowflakeデータ基盤で挑むAI活用 〜4年間のDataOpsの基礎をもとに〜
kaz3284
1
270
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
95k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
360
Featured
See All Featured
Believing is Seeing
oripsolob
1
68
Are puppies a ranking factor?
jonoalderson
1
3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Abbi's Birthday
coloredviolet
2
5k
Optimizing for Happiness
mojombo
379
71k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
360
A designer walks into a library…
pauljervisheath
210
24k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
300
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
New Earth Scene 8
popppiees
1
1.6k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
280
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Transcript
@jlecour - avril 2015 Test Driven Configuration Pourquoi ? Comment
? web
Redirections, Cache, SSL, Cookies, etc.
• capture des domaines secondaires • escalade de protocole •
nombre de redirections • types de redirections Redirections
• disponibilité des pages/ressources critiques • type/durée de cache des
images/CSS/JS • type/durée de cache des pages anonymes • type/durée de cache des pages personnalisées • cache en seconde visite • pages protégées Dispo et Cache
• durée de validité du certificat • origine et titulaire
du certificat • quels protocoles sont acceptés Configuration SSL
• présence des cookies importants • période de validité •
[HTTP only] ? [secure] ? • absence de cookies indésirables Cookies
Tester dans le navigateur ça ne suffit pas ?
None
Et l'inspecteur web ça ne suffit pas ?
None
Il faut automatiser OK mais comment ?
Encore un "Test Driven Machin" on va faire du TDD
pour les config d'Nginx ?
Ecrire des tests en Ruby on a un peu l'embarras
du choix j'ai choisi Minitest
Lire les en-têtes HTTP cURL vient de fêter ses 17
ans il y a aussi Mechanize (encore du Ruby)
Analyser le contenu des pages Mechanize + Nokogiri sont les
stars
Valider un certificat SSL openssl + check_ssl_cert + cipherscan
DEMO
Merci envoyez les questions
Jérémy Lecour
[email protected]
@jlecour jeremy.wordpress.com github.com/jlecour