Skip to content

Commit 42732b5

Browse files
authored
Docs: adding explicit mention of test_utils to docs (#11670)
* Docs: adding explicit mention of test_utils to docs * Improved wording
1 parent 204e1bc commit 42732b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/contributor-guide/testing.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ and tries to follow the Rust standard [Testing Organization](https://doc.rust-la
3030
## Unit tests
3131

3232
Tests for code in an individual module are defined in the same source file with a `test` module, following Rust convention.
33+
The [test_util](https://github.com/apache/datafusion/tree/main/datafusion/common/src/test_util.rs) module provides useful macros to write unit tests effectively, such as `assert_batches_sorted_eq` and `assert_batches_eq` for RecordBatches and `assert_contains` / `assert_not_contains` which are used extensively in the codebase.
3334

3435
## sqllogictests Tests
3536

0 commit comments

Comments
 (0)