Skip to content

Commit 2f39b2f

Browse files
alambfindepi
authored andcommitted
Minor: Add note about SQLLancer fuzz testing to docs (apache#11430)
* Minor: Add note about SQLLancer fuzz testing to docs * prettier
1 parent 8978713 commit 2f39b2f

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/source/contributor-guide/testing.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ DataFusion's SQL implementation is tested using [sqllogictest](https://github.co
3939

4040
Like similar systems such as [DuckDB](https://duckdb.org/dev/testing), DataFusion has chosen to trade off a slightly higher barrier to contribution for longer term maintainability.
4141

42-
### Rust Integration Tests
42+
## Rust Integration Tests
4343

4444
There are several tests of the public interface of the DataFusion library in the [tests](https://github.com/apache/datafusion/tree/main/datafusion/core/tests) directory.
4545

@@ -49,6 +49,18 @@ You can run these tests individually using `cargo` as normal command such as
4949
cargo test -p datafusion --test parquet_exec
5050
```
5151

52+
## SQL "Fuzz" testing
53+
54+
DataFusion uses the [SQLancer] for "fuzz" testing: it generates random SQL
55+
queries and execute them against DataFusion to find bugs.
56+
57+
The code is in the [datafusion-sqllancer] repository, and we welcome further
58+
contributions. Kudos to [@2010YOUY01] for the initial implementation.
59+
60+
[sqlancer]: https://github.com/sqlancer/sqlancer
61+
[datafusion-sqllancer]: https://github.com/datafusion-contrib/datafusion-sqllancer
62+
[@2010youy01]: https://github.com/2010YOUY01
63+
5264
## Documentation Examples
5365

5466
We use Rust [doctest] to verify examples from the documentation are correct and

0 commit comments

Comments
 (0)