Boilerplate code and installation instructions for a quick setup of a walking skeleton for a TDD process using create-react-app/Redux/TravisCI.
"A 'walking skeleton' is an implementation of the thinnest possible slice of real functionality that we can automatically build, deploy and test end-to-end." Source: Cockburn, Alistair. Crystal Clear: A Human-powered methodology for small teams, 2004.
It is ready to use with TDD with the basic setup for unit, integration and end to end tests.
Status | |
---|---|
CI service | |
Tests | |
Firebase Hosting |
- Create-react-app, which includes: React, JSX, ES6, Webpack, Babel and other amazing projects.
- Prettier Code Formatter + ESLint setup with Airbnb's style guide + VSCode integration
- Jest + Enzyme for tests, including
@storybook/addon-storyshots
to snapshot test my Storybook and puppeteer for e2e tests. - Storybook of my UI components
- Jenkins CI to build the production bundles and deploy it to Digital Ocean, run the tests, creating and publishing the test coverage report
- Install packages with
npm install
npm start
Open Visual Studio and debug. Run the tests by default.
If you want to run the integration tests too, type from the terminal:
npm test -- --coverage --no-cache
npm run storybook
Then open http://localhost:9009/