From 943bb3c5c5c43d3a59c64e51f3c5fad4f00580f3 Mon Sep 17 00:00:00 2001 From: Edmondo Porcu Date: Fri, 26 Jul 2024 14:08:45 +0000 Subject: [PATCH] Minor: improving testing docs --- docs/source/contributor-guide/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/contributor-guide/testing.md b/docs/source/contributor-guide/testing.md index 0f4461ab2c2c..36360c6b53ee 100644 --- a/docs/source/contributor-guide/testing.md +++ b/docs/source/contributor-guide/testing.md @@ -29,7 +29,7 @@ and tries to follow the Rust standard [Testing Organization](https://doc.rust-la ## Unit tests -Tests for code in an individual module are defined in the same source file with a `test` module, following Rust convention. +Tests for code in an individual module are defined in the same source file with a `test` module, following Rust convention. If you need to perform assertions on RecordBatch you can leverage the `assert_batches_sorted_eq` and `assert_contains` macros provided by the [Test util](https://github.com/apache/datafusion/tree/main/datafusion/common/src/test_util.rs) module. ## sqllogictests Tests