🐛 ✅ Ajout test cassant pour toutes ces conditions
parent
c786bd6fb3
commit
27a9d7f0ef
|
@ -96,7 +96,7 @@
|
|||
"surge": "npm run compile && surge --domain scientific-wish.surge.sh -p ./ && rm -rf dist/",
|
||||
"test": "mocha-webpack --webpack-config source/webpack.test.config.js --require source-map-support/register --require test/helpers/browser.js \"test/**/*.test.js\"",
|
||||
"test-watch": "mocha-webpack --webpack-config source/webpack.test.config.js --require source-map-support/register --require test/helpers/browser.js \"test/**/*.test.js\" --watch",
|
||||
"test-meca": "mocha-webpack --webpack-config source/webpack.test.config.js --require source-map-support/register --require test/helpers/browser.js test/mecanisms.test.js",
|
||||
"test-meca": "mocha-webpack --webpack-config source/webpack.test.config.js --require source-map-support/register --require test/helpers/browser.js test/mecanisms.test.js --watch",
|
||||
"heroku-postbuild": "npm install --dev && webpack --config source/webpack.config.js --progress"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
|
||||
- nom: dégradation mineure
|
||||
|
||||
- nom: dégradation majeure
|
||||
|
||||
- nom: remboursement dépot de garantie
|
||||
test: Toutes ces conditions
|
||||
non applicable si:
|
||||
toutes ces conditions:
|
||||
- dégradation mineure
|
||||
- dégradation majeure
|
||||
formule:
|
||||
3000
|
||||
|
||||
exemples:
|
||||
- nom: A
|
||||
situation:
|
||||
dégradation mineure: oui
|
||||
valeur attendue: null
|
||||
variables manquantes:
|
||||
- dégradation majeure
|
||||
- nom: B
|
||||
situation:
|
||||
dégradation mineure: oui
|
||||
dégradation majeure: oui
|
||||
valeur attendue: 0
|
||||
variables manquantes: []
|
||||
- nom: C
|
||||
situation:
|
||||
dégradation mineure: non
|
||||
valeur attendue: 3000
|
||||
variables manquantes: []
|
Loading…
Reference in New Issue