From 57ce9a7c02e97ad61d8af44d39d546744f9fb895 Mon Sep 17 00:00:00 2001 From: sitao Date: Wed, 18 Dec 2024 14:57:39 -0500 Subject: [PATCH] Add integration test task in testing doc --- docs/testing.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/testing.md b/docs/testing.md index 46a63d3..c133e86 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -23,7 +23,10 @@ require this storage backend. 4. Set the `cStorageUrl` in `tests/storage/StorageTestHelper.hpp` to `jdbc:mariadb://localhost:3306/?user=&password=`. -## Running tests +5. Set the `storage_url` in `tests/integration/client.py` to + `jdbc:mariadb://localhost:3306/?user=&password=`. + +## Running unit tests You can use the following tasks to run the set of unit tests that's appropriate. @@ -45,4 +48,13 @@ REQUIRE( storage->connect(spider::test::cStorageUrl).success() ) The [unit_tests.yaml][gh-workflow-unit-tests] GitHub workflow runs the unit tests on push, pull requests, and daily. Currently, it only runs unit tests that don't require a storage backend. +## Running integration tests + +You can use the following tasks to run integration tests. + +| Task | Description | +|-------------------------------|-------------------------------------------------------------------| +| `test:integration` | Runs all integration tests. | + + [gh-workflow-unit-tests]: ../.github/workflows/unit-tests.yaml