Getting started
In order to get started writing tests with Testla Screenplay we need to install it with all its required peer dependencies.
Installation via Create Testla Screenplay
The easiest way to do so is to use our install routine CLI tool Create Testla Screenplay. It allows you to pick modules as per your convenience, installs all dependencies, configures the project and creates a full folder structure, so that you can start writing tests right away.
Start the installation as followes based on the package manager of your choice:
- npm
- npx
- Yarn
- pnpm
npm init @testla/screenplay
npx @testla/create-screenplay
yarn create @testla/screenplay
pnpm create @testla/screenplay
Manual Installation
Alternatively you can install the desired Testla Screenplay modules and their peer dependencies manually.
Please find the corresponding references in our Modules section.