E2E testing enhancements (#2408)

* Local testing with docker

* Docs on e2e testing

* `bash` callback after docker

* Add a TL;DR in the CONTRIBUTING section

* Local e2e testing with modified files

* Remove the N.B. from the README

* Fixed a fixme in e2e doc
This commit is contained in:
Fabrizio Castellarin
2017-06-26 18:34:03 +02:00
committed by Dan Abramov
parent c22c8b3007
commit 1f91848d51
4 changed files with 172 additions and 0 deletions

View File

@@ -90,6 +90,12 @@ and then run `npm start` or `npm run build`.
*Note: if you are using yarn, we suggest that you use `yarn install --no-lockfile` instead of the bare `yarn` or `yarn install` because we [intentionally](https://github.com/facebookincubator/create-react-app/pull/2014#issuecomment-300811661) do not ignore or add yarn.lock to our repo.*
## Contributing to E2E (end to end) tests
**TL;DR** use the command yarn e2e:docker to run unit and e2e tests.
More detailed information are in the dedicated [README](/packages/react-scripts/fixtures/kitchensink/README.md).
## Cutting a Release
1. Tag all merged pull requests that go into the release with the relevant milestone. Each merged PR should also be labeled with one of the [labels](https://github.com/facebookincubator/create-react-app/labels) named `tag: ...` to indicate what kind of change it is.