testbook
v2.7.1
Published
Testing UI
Maintainers
Readme
Testbook
Testbook is a tool for creating React component tests.
It currently supports apps created by CRA.
Running
Testbook runs in your browser, to start it from your CRA project use the following command:
npx testbookOnce you have created tests, use the following to run those tests on the cli (suitable for CI):
npx testbook cliContributing
Clone and run the following in the Testbook directory:
yarn linkTo the start the dev api server, pick any CRA project directory and run:
yarn link testbook
npx testbook devTo run the client dev server run the following from the Testbook directory:
yarn start