Live demo on Spring reactive code (spring.web.reactive)
Using Inside-out TDD
Http mocking via WireMock
Contract tests (exposed by producer, used by client)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* My answers to [Kotlin Playground Koans](https://play.kotlinlang.org/koans) */ | |
/* Intro */ | |
// Hello, world! | |
fun start(): String = "OK" | |
// Named arguments | |
fun joinOptions(options: Collection<String>) = | |
options.joinToString(prefix = "[", postfix = "]") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-04-23T05:05:17.088Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports = { | |
answer | |
}; | |
function answer(number) { | |
if (number % 15 === 0) { | |
return "FizzBuzz"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports = { | |
roman | |
}; | |
function roman(arabic) { | |
let r = "I".repeat(arabic); | |
if (arabic === 4) { | |
return "IV"; |
-
tester la sécurisation ** de spécialités ES : alertes identiques qu'en sécurisant les VMP ? ** non-régression (FR)
-
tester les nouveaux concepts ** recherche par nom (/search?q=) / code (/search?code=) ** UCDV, recherche par nom (/ucdvs?q=) / détail (/ucdv/$id) ** VTM, recherche par nom / détail ** DRUG (DCP/DCPF/DCSA), recherche par nom / détail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Liters_per_100_km": 1.8, | |
"Day": "2019-08-26", | |
"Vehicle": "Yamaha YBR 125 (2010)", | |
"Comment": "" | |
}, | |
{ | |
"Liters_per_100_km": 1.9, | |
"Day": "2019-07-20", |
En résumé :
But : analyser un an de sécurisation, via des fichiers CSV fournis à DataStorm
Comment : application Spark Java secu-replay
, lancée via Jenkins sur le cluster "val"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(curl -s 'https://api.leboncoin.fr/finder/search' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:64.0) Gecko/20100101 Firefox/64.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://www.leboncoin.fr/aw/mes-recherches/' -H 'api_key: ba0c2dad52b3ec' -H 'content-type: text/plain;charset=UTF-8' -H 'origin: https://www.leboncoin.fr' -H 'DNT: 1' -H 'Connection: keep-alive' --data '{"filters":{"category":{"id":"3"},"owner":{},"keywords":{"type":"subject","text":"yamaha YBR"},"location":{"region":"12","regions":["12"],"locations":[{"region_id":"12","label":"Ile-de-France","locationType":"region"}]},"enums":{"ad_type":["offer"]}},"counters":{},"limit":35,"sort_by":"time","sort_order":"desc","user_id":"bfdbcf98-4dd9-4545-9eb5-6cd0159a3d8f","store_id":"15616030"}' | md5 && date) > ~/lbc.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.google.com/document/d/1bUi8IydEUKmigP5fMlutCAUbIO4s-Xj9HpBef8cNvfI/edit |