Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamranayub/example-storyflow

Created with CodeSandbox
https://github.com/kamranayub/example-storyflow

Last synced: 29 days ago
JSON representation

Created with CodeSandbox

Awesome Lists containing this project

README

        

## Storyflow Example

Companion demo to my talk, [Using Storybook to Build a Better... Game Engine?](https://bit.ly/StorybookForGameEnginesMDC2020)

Showcases using Storybook as the basis for unit and functional tests aka "Storyflow" workflow. Uses Storybook, Jest, and Cypress.

## Getting Started

**Prerequisites**

- [Yarn](https://yarnpkg.com) 1.x (or replace `yarn` with `npm`)
- [Node](https://nodejs.org) 12.x

```sh
# Install dependencies
yarn

# Start Storybook
yarn start

# Run Jest tests
yarn test

# Run Cypress test runner
yarn cypress open

# Run Cypress tests headless
yarn cypress run
```