FFFF gemini/CONTRIBUTING.md at v4.11.2 · gemini-testing/gemini · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Latest commit

 

History

History
59 lines (37 loc) · 1.98 KB

CONTRIBUTING.md

File metadata and controls

59 lines (37 loc) · 1.98 KB

Contributing

New contributions are welcomed. Follow this guide if you want to make one.

Make a pull request

Follow Github guide to fork a repo and create a pull request.

All bug fixes and new features should go to the master branch.

Commit messages

Commit messages should describe what have been changed and why. The first line should be wrapped to 50 characters, the second one should be blank. All other lines should be wrapped to 72 characters.

Example of a good commit message.

Code style and static analysis

Before submitting pull request, make sure your code passes all code style and static analysis checks. To do so, run:

npm run lint

Functional Tests Prerequisites

Some functional tests are launched on SauceLabs. In order to run them you'll need to:

  1. Register open source SauceLans account.
  2. Set your username and key to SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables respectively.

Tests

Make sure all tests are passing before submitting pull request:

npm test

If you are fixing the bug, add a test that fails without your patch and passes with it. If you are adding a feature, write a test for it. To see test coverage report run:

npm test --coverage

Issues reporting

When submitting an issue please do following:

  1. Search for same issues on github in order to prevent duplicates
  2. Fill as many sections as possible described in issue template so we will additional info to work with

Note that if no response for contributors questions will be provided in 1 week then issue may be considered as irrelevant/resolved and may be closed.

0