You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+11-1
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,12 @@ make bins
50
50
Please check the top of our [Makefile](Makefile) for other useful build targets.
51
51
52
52
## Run tests
53
-
Tests require runtime dependencies. They can be run with `start-dependencies` target (uses `docker-compose` internally). Open new terminal window and run:
53
+
We defined three categories of tests.
54
+
* Unit test: Those tests should not have dependencies other than the test target and go mock. We should have unit test coverage as much as possible.
55
+
* Integration test: Those tests cover the integration between the server and the dependencies (Cassandra, SQL, ES etc.).
56
+
* Functional test: Those tests cover the E2E functionality of Temporal server. They are all under ./tests directory.
57
+
58
+
Integration and functional tests require runtime dependencies. They can be run with `start-dependencies` target (uses `docker-compose` internally). Open new terminal window and run:
0 commit comments