This directory (integration_test) contains all the source code and scripts for the integration test framework and tests.
The main components are:
Test framework (src/java/.../(core, common)
)
Test topologies (src/java/.../topology
)
Test runner (src/python/test_runner
)
Test http server (src/python/http_server
)
post
the result, and test runner get
s the result.Local test runner (src/python/local_test_runner
)
To run integration tests on your mac first run the following to build the test package and install the heron client:
bazel build --config=darwin integration_test/src/... bazel run --config=darwin -- scripts/packages:heron-client-install.sh --user bazel run --config=darwin -- scripts/packages:heron-tools-install.sh --user
To run the local integration tests on your mac run the following from the heron repo's top dir:
./bazel-bin/integration_test/src/python/local_test_runner/local-test-runner
To run just a single test include the module and test class:
./bazel-bin/integration_test/src/python/local_test_runner/local-test-runner test_template.TestTemplate