CeresDB / sqlness

An ergonomic, opinionated framework for SQL integration test.
https://crates.io/crates/sqlness
Apache License 2.0
22 stars 7 forks source link

Support multiple case directories for one environment #23

Closed jiacai2050 closed 1 year ago

jiacai2050 commented 1 year ago

Describe This Problem

In current implementation, there is only one case directory allowed for one environment, although this works, but this makes it awkward to share cases between multiple environment.

Proposal

Support multiple case directories

Additional Context

Another solution to this is symlinks, although this works, but I think it's a little ugly.

jiacai2050 commented 1 year ago

Symblinks support has been merged. Other solution is to use setup two projects with same case dir, but only one env and each project has different result_extension, in this way users can reuse sql testcases, but output to different result file.