Welcome! Thanks for considering to contribute to ember-cli-acceptance-test-helpers
. Below are the steps outlined to submit your contributions.
- Make sure you have a GitHub account. If you don't have one, you can sign up here for a free account.
- Submit an issue, assuming one does not already exist.
- Clearly describe the bug that you are seeing or a feature you would like to add. For feature requests, feel free to include example(s) of what the api will look like after your changes.
- If you want a feature but are not sure how to go about implementing it, open an issue anyways and ask for help/guidance.
- Fork the repository on GitHub.
This library is an Ember addon. As such, we assume the following:
- You have
node
installed- If you don't have
node
installed, you can pick the way that best works for you from this gist. - If you don't know whether you have
node
installed or not, you can runnode -v
. If you see a version number as an output, you are good to go. Otherwise, follow one of the steps above to installnode
on your machine.
- If you don't have
- You have
ember-cli
installed globally- If you don't have
ember-cli
installed, runnpm install -g ember-cli
. Note thatnode
comes withnpm
so you don't have to installnpm
separately. - If you don't know if you have
ember-cli
installed, runember -v
. If you see a version number as an output, you are good to go. Otherwise, follow one of the steps above to installember-cli
on your machine.
- If you don't have
- You have
bower
installed globally- If you don't have
bower
installed, runnpm install -g bower
. - If you don't know if you have
bower
installed, runbower -v
. If you see a version number as an output, you are good to go. Otherwise, follow one of the steps above to installbower
on your machine.
- If you don't have
Once the above [Prerequisites][] are satisfied and you have discussed the changes you want to make in an issue, you are ready to get started coding. The steps to making changes are as follows.
- Clone the fork you created as a part of [Getting Started][].
cd
into your cloned repository on your machine.- Run
npm install && bower install
to install dependencies. - Run
npm test
to make sure the tests are passing before you start making your changes. - Create a topic branch from
master
. Rungit checkout -b [name of your branch]
. Please avoid working directly on the master branch. - Make commits of logical units. Check for unnecessary whitespace with
git diff --check
before committing.
- Once you have the changes working and in the state you are ready to submit, push your changes. Run
git push origin head
(this assumes you are working in a topic branch and have all the changes committed). - Submit a pull request.
There might be further changes necessary based on feedback you receive on the pull request. Feel free to ask clarifying questions or seek guidance as necessary. We hope that your contributor experience is as pleasant/smooth as can be and following these guidelines will help ensure that. Thanks for helping out!