Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 2.98 KB

CONTRIBUTING.md

File metadata and controls

66 lines (42 loc) · 2.98 KB

Contributing

I appreciate your interest for contributing in enhancing and evolving the coteafs-appium framework.

1. Where to start from?

If you've noticed a bug or have a question that doesn't belong on the mailing list or Stack Overflow, search the issue tracker to see if someone else has already created a ticket. If not, go ahead and add one!

2. Want to fix an issue or add new feature?

If this is something you think you can fix, then follow the following steps:

Step 0: Discuss with us

Before jumping on any ticket or any feature which you think should be there in the framework, discuss with us here. Once you get go-ahead from us, you can proceed by following the steps mentioned hereafter.

Step 1: Setup your E-mail in Git

Assuming you have already done this. But if you are new and may forget this, you can do it as described here.

Step 2: Fork and clone coteafs-appium

To Fork coteafs-appium and clone it, see this useful post.

Step 3: Create new Branch

Now create a new branch with descriptive name in your forked repo. Refer here to know about Git branches.

Step 4: Make changes

Make changes and commit it in your newly created branch. Also write Javadocs for methods, unit tests, update the CHANGELOG.

Step 5: Commit with a descriptive message

If committing a fix for a ticket, always start with Fixed #[Ticket ID] than describe the changes in detail. For an example on how to write a proper commit message, see this post.

Step 6: Push changes to your cloned fork

After committing the changes, you need to push the commit to your cloned repo by executing git push origin your-branch-name command in the terminal.

Step 7: Send PR to us

Sending Pull Request will be the last step of your contribution. To know how to raise a PR, see this post.

NOTE: From your second contribution onwards, you can skip steps (1) and (2).

To run the build,

  1. Configure your device details in 'appium-config.yaml' file available at src/test/resources under devices/test.
  2. Connect Android/iOS devices to your machine or start the emulators.
  3. Run the tests from the command prompt by executing mvn clean install.