Skip to content

Conversation

@gabotechs
Copy link
Collaborator

This PR moves around the test utilities so that they can be used in more places:

  1. de-duplicates some integration test utilities from src/test_utils/ and tests/common/
  2. moves all integration test utilities to src/test_utils
  3. makes this test utilities public to the outside behind the "integration" feature
  4. uses these exposed utilities in to the integration tests

The rationale for this is that we can expect this test utilities to be used in more places apart from just the integration tests in tests/, like benchmarking for example.


DX change: before the integration tests run normally on every cargo test, now they run just if the feature "integration" is enabled (cargo test --feature integration)

@gabotechs gabotechs force-pushed the gabrielmusat/move-common-test-utils-to-one-place branch 3 times, most recently from f66733c to 6766309 Compare August 8, 2025 11:24
…ture. This way, other crates and integration tests as well can use it
@gabotechs gabotechs force-pushed the gabrielmusat/move-common-test-utils-to-one-place branch from 6766309 to 6a8b5b0 Compare August 8, 2025 11:34
Copy link
Collaborator

@LiaCastaneda LiaCastaneda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

…text (#85)

* Move all test utils to src/ and hide them behind an "integration" feature. This way, other crates and integration tests as well can use it

* Extend the `SessionBuilder` trait to be able to operate not only at the `SessionStateBuilder` level, but also on `SessionState` and `SessionContext`

* Add benchmarks crate by copying upstream DataFusion code (#73)

* Add benchmarks crate by copying upstream DataFusion code

* Wire-up distributed execution with tpch benchmarks (#86)
@robtandy robtandy merged commit 0dbf427 into main Aug 8, 2025
3 checks passed
@robtandy robtandy deleted the gabrielmusat/move-common-test-utils-to-one-place branch August 8, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants