#[[Testing]]

Screenplay Pattern

#Testing

SerenityJSのコアとなるBDDデザインパターン

E2Eテストにおいて、PageのようなオブジェクトではなくUserのようなアクターに焦点をあててテストを記述する

例としてバックエンドAPIのモックは、Abilitiesという概念でアクターに付与される

serenity-js.org https://serenity-js.org/handbook/design/screenplay-pattern/

neighbourhood

BDD BDD E2Eテスト E2Eテスト SerenityJS SerenityJS Screenplay Patte…

links · 3