tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
10k stars 262 forks source link

Create new Rust test cases to increase test coverage #119

Open psarna opened 1 year ago

psarna commented 1 year ago

We already have a rudimentary set of Rust tests under https://github.com/libsql/libsql/tree/main/test/rust_suite, but that only covers the new features. Ideally, the Rust test suite should increase the test coverage of the existing set of open source tests inherited from SQLite.

Contributions very much welcome, every new test case helps!

Here's an example of a simple test case: https://github.com/libsql/libsql/blob/bd68c17adf23c038fcfc44813ea2a943b423ca63/test/rust_suite/src/lib.rs#L19-L56

premkirank commented 1 year ago

@psarna I would like to add a few tests and go through the code. Can you assign me?

penberg commented 1 year ago

Hey @premkirank! I think we want to keep this issue open for a long time to keep improving the tests so I don't think there's need to assign it to any specific individual. But if you create new tests, just open pull requests for them and we'll review and merge!