The different languages clients should all have an integration test suite that is dependent on the dynamic library being present somewhere and a running instance of Flipt. When running the integration tests with Dagger, the dynamic library will be built in a separate container and copied into the target machine for your tests automatically.
In the test/
directory we will use Dagger to orchestrate setting up the dependencies for running the test suites for the different languages.
Make sure you have dagger
installed. This module is pinned to v0.14.0
currently in CI.
Important
We recommend installing the same version of Dagger as is used in CI. Follow the Dagger Installation Instructions to install the correct version (v0.14.0).
From the root of this repository you can run:
dagger run go run ./test
This will run integration tests for every language that is supported. If you wish to filter specific languages to test, there is a flag -sdks
which accepts a comma-separated list of values.
e.g.
dagger run go run ./test -sdks python,ruby