Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.21 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.21 KB

Config Server

See config-server-release for the release repo for config-server See bosh-notes for more information

Contributing

All PRs and code should be against the develop branch. Before submitting PRs, you should make sure that tests are passing properly.

Unit tests

Before running the unit test on your local machine, you should install golangci-lint following its documentation, see https://github.com/golangci/golangci-lint. (Indeed, the way the lint script installs golangci-lint is not suitable for running on a local machine.)

Then run the unit tests using the dedicated script.

bin/test-unit

Integration tests

There are 3 distinct flavors of integration tests. Run the relevant one, or all, depending on the changes you've done.

bin/test-integration memory     # <- uses an in-memory database
bin/test-integration mysql      # <- uses a MySQL database
bin/test-integration postgresql # <- uses a PostgreSQL database