create-cstesting
v0.1.13
Published
Scaffold a CSTesting project (npm create cstesting@latest)
Downloads
266
Maintainers
Readme
create-cstesting
Bootstrap a CSTesting project with an interactive wizard (same idea as npm init playwright@latest).
Usage
In an empty folder or existing Node.js project:
npm init cstesting@latestOr:
npm create cstesting@latestYou will be asked:
- TypeScript or JavaScript (default: TypeScript)
- Tests folder (default:
tests, ore2eiftestsalready exists) - GitHub Actions workflow for CI (default: yes)
- Verify Chrome is installed for browser tests (default: yes)
Then it creates sample tests, updates package.json, runs npm install, and prints how to run tests.
Alternative
If cstesting is already installed:
npx cstesting init