Files
abra/tests
devydaveanddevydave 550c9aa48f
continuous-integration/drone/push Build is passing
test: introduce local integration testing (#902)
This PR adds a declarative integration testing setup which includes 2 local VMs client and server which can be started and stopped via a command. The VMs are run with QEMU and created by https://github.com/microvm-nix/microvm.nix
The key pair is generated for this use case and is safe to commit, it resolves the problem that the readFile function can only be used with git tracked files.

---------

Co-authored-by: devydave <yannick-dev@tutanota.com>
Reviewed-on: #902
Reviewed-by: p4u1 <133+p4u1@noreply.git.coopcloud.tech>
Co-authored-by: devydave <bittedanke@tutanota.com>
2026-10-31 08:28:04 +00:00
..

Test suite

  • Unit testing is done in the packages themselves, run find . -name "*_test.go" to find those. Use make test to run the entire unit test suite. Some unit tests require mocked files which are located in ./tests/resources.

  • Integration tests are in ./tests/integration. Please see these docs for instructions and tips on how to run them. If you want to run it locally via nix, read the nix testing docs.