It is always welcome to contribute to FastBoot project! Don't hesitate to open issues, submit PRs, or chat with community for questions or help.
This project is organized in a monorepo, you can find the packages published to npm under packages/
folder:
fastboot
ember-cli-fastboot
fastboot-app-server
fastboot-express-middleware
The test-packages
folder contains sample apps and integration test suite used for testing the published packages.
git clone https://github.com/ember-fastboot/ember-cli-fastboot/
cd ember-cli-fastboot
yarn install
yarn workspace integration-tests test
- Run integration test suiteyarn workspace basic-app test:mocha
- Run sample app's test suiteyarn workspace ember-cli-fastboot test:ember
– Runs theember-cli-fastboot
test suite
You can run each package's own test suite specified in its package.json
via yarn workspace
The packages in this monorepo are tightly integrated, consider these when writing new tests:
- Unit testing individual package: add to the package's own
test
folder - Integration test that involve multiple packages: add to
test-packages/integration-tests
- Testing FastBoot rendered sample app as
ember-cli-fastboot
consumer: add totest-packages/<the-sample-app>/test