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:
fastbootember-cli-fastbootfastboot-app-serverfastboot-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-fastbootyarn 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-fastboottest 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
testfolder - Integration test that involve multiple packages: add to
test-packages/integration-tests - Testing FastBoot rendered sample app as
ember-cli-fastbootconsumer: add totest-packages/<the-sample-app>/test