Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 631 Bytes

TESTS.md

File metadata and controls

14 lines (10 loc) · 631 Bytes

Test Guidelines

This document will guide you to write your test.

We are using the official testing go package to write our tests. You can take a look at the documentation here

What should be tested?

Every single route of the API must have his own battery of tests.
Every independent features must also be tested.
Each complex integration of dependencies must be tested.

When should we write tests?

When a new feature is added to a Pull Request, it must come with its tests.
When a feature with a breaking changes is added to a Pull Request, it must come with its tests.