This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 8b213cd47f Publish built docs triggered by
42732b5f40fbeb22cea43f104c720f66c3eba2ad
8b213cd47f is described below
commit 8b213cd47fed61354f84292d6c2da64a791bc66a
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Jul 27 11:18:32 2024 +0000
Publish built docs triggered by 42732b5f40fbeb22cea43f104c720f66c3eba2ad
---
_sources/contributor-guide/testing.md.txt | 1 +
contributor-guide/testing.html | 3 ++-
searchindex.js | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/_sources/contributor-guide/testing.md.txt
b/_sources/contributor-guide/testing.md.txt
index 0f4461ab2c..90e39c0057 100644
--- a/_sources/contributor-guide/testing.md.txt
+++ b/_sources/contributor-guide/testing.md.txt
@@ -30,6 +30,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.
+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.
## sqllogictests Tests
diff --git a/contributor-guide/testing.html b/contributor-guide/testing.html
index 4d142ea6d9..751e34ebd2 100644
--- a/contributor-guide/testing.html
+++ b/contributor-guide/testing.html
@@ -598,7 +598,8 @@ Pyramid</a>
and tries to follow the Rust standard <a class="reference external"
href="https://doc.rust-lang.org/book/ch11-03-test-organization.html">Testing
Organization</a> in the The Book.</p>
<section id="unit-tests">
<h2>Unit tests<a class="headerlink" href="#unit-tests" title="Link to this
heading">¶</a></h2>
-<p>Tests for code in an individual module are defined in the same source file
with a <code class="docutils literal notranslate"><span
class="pre">test</span></code> module, following Rust convention.</p>
+<p>Tests for code in an individual module are defined in the same source file
with a <code class="docutils literal notranslate"><span
class="pre">test</span></code> module, following Rust convention.
+The <a class="reference external"
href="https://github.com/apache/datafusion/tree/main/datafusion/common/src/test_util.rs">test_util</a>
module provides useful macros to write unit tests effectively, such as <code
class="docutils literal notranslate"><span
class="pre">assert_batches_sorted_eq</span></code> and <code class="docutils
literal notranslate"><span class="pre">assert_batches_eq</span></code> for
RecordBatches and <code class="docutils literal notranslate"><span
class="pre">asse [...]
</section>
<section id="sqllogictests-tests">
<h2>sqllogictests Tests<a class="headerlink" href="#sqllogictests-tests"
title="Link to this heading">¶</a></h2>
diff --git a/searchindex.js b/searchindex.js
index db07e0c11b..6fe49fafa0 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"!=": [[44, "op-neq"]], "!~": [[44,
"op-re-not-match"]], "!~*": [[44, "op-re-not-match-i"]], "!~~": [[44, "id18"]],
"!~~*": [[44, "id19"]], "#": [[44, "op-bit-xor"]], "%": [[44, "op-modulo"]],
"&": [[44, "op-bit-and"]], "(relation, name) tuples in logical fields and
logical columns are unique": [[9,
"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]], "*":
[[44, "op-multiply"]], "+": [[44, "op-plus"]], "-": [[44, "op-minus"]], "/":
[[4 [...]
\ No newline at end of file
+Search.setIndex({"alltitles": {"!=": [[44, "op-neq"]], "!~": [[44,
"op-re-not-match"]], "!~*": [[44, "op-re-not-match-i"]], "!~~": [[44, "id18"]],
"!~~*": [[44, "id19"]], "#": [[44, "op-bit-xor"]], "%": [[44, "op-modulo"]],
"&": [[44, "op-bit-and"]], "(relation, name) tuples in logical fields and
logical columns are unique": [[9,
"relation-name-tuples-in-logical-fields-and-logical-columns-are-unique"]], "*":
[[44, "op-multiply"]], "+": [[44, "op-plus"]], "-": [[44, "op-minus"]], "/":
[[4 [...]
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]