Skip to content

Commit

Permalink
fixup! TF-2953 Set up Patrol tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tddang-linagora committed Oct 16, 2024
1 parent de2b402 commit 3d12940
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/adr/0052-patrol-integration-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ Accepted
- Run the `scripts/patrol-local-integration-test-with-docker.sh`
- Test every tests locally by running `scripts/patrol-local-integration-test-with-docker.sh` script
- Read more about Patrol in [Patrol homepage](https://patrol.leancode.co/)

## Limitations

- Backend docker container is initiated before Patrol tests run, and close after all tests have run. This lead to no data isolation between tests
- Patrol gives no way of accessing Docker from system, due to when it runs, it bundle all tests into a single apk, and apk cannot access the system's terminal
- Tried https://github.com/testcontainers/testcontainers-java but also failed, with the same reason as Patrol.

0 comments on commit 3d12940

Please sign in to comment.