Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 878 Bytes

CONTRIBUTING.md

File metadata and controls

26 lines (18 loc) · 878 Bytes

Hurray! We are glad that you want to contribute to our project! 👍

Verify your work

Run make verify to run all the same validations that our CI process runs, such as checking that the standard go formatting is applied, linting, etc.

Setup your dev environment

Run make setup-dev-env to install local developer tools and run necessary services, such as mongodb, for the end-to-end tests.

Unit Tests

Run make test-unit to run the unit tests.

End-to-End Tests

End-to-End tests (e2e) are tests from the user perspective that validate that everything works when running real live servers, and using go with GOPROXY set.

Run make test-e2e to run the end-to-end tests.

The first time you run the tests, you must run make setup-dev-env first, otherwise you will see errors like the one below:

error connecting to storage (no reachable servers)