Skip to content

Commit

Permalink
Minor: improving testing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondop committed Jul 26, 2024
1 parent fab7e23 commit 943bb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/contributor-guide/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 943bb3c

Please sign in to comment.