Comments (4)
@skyzh The official sqllogictest is able to take a prototype test file as input, and produce a complete test file with following command:
sqllogictest -odbc DSN=mysqlslt MySQL prototype.test >full.test
Maybe we can just follow this.
from sqllogictest-rs.
cc @skyzh
from sqllogictest-rs.
That's interesting! I think we can do this in sqllogictest.
https://github.com/risinglightdb/sqllogictest-rs/blob/main/src/main.rs
Currently, main.rs uses sqllogictest lib to parse and run the tests while offering a fancy cli. I think we can leverage sqllogictest library to generate test result.
from sqllogictest-rs.
include
makes it tricky 🤡
from sqllogictest-rs.
Related Issues (20)
- Proposal: Fail a statement test when an actual output is a query result HOT 3
- ci: add semver check in CI HOT 3
- Proposal: Add support for checking for stream errors HOT 2
- enhancement: better diff for result mismatch HOT 5
- bin: enhance `skipif` HOT 3
- `statement error` test should fail when expected error did not occur HOT 2
- Bug: sqllogictest pass unexpectedly HOT 2
- ci: enhance release workflow to include more targets
- tests: add a test suite and test agains supported engines
- remove condition/connection from `Record`
- runner: allow omit column type in query HOT 2
- Should we run `semver` test on release instead of each PR? HOT 4
- feat: add a "multi-line mode" for results spanning multiple lines
- support parameterized query in Postgres extended query protocol
- feat: support printing the test file after variable substitution
- `system ok` with `-o pipefail`
- print `stderr` for `system ok`
- `system`: for background command, stdout will be printed in output
- `system`: default to bash, or make shell configurable
- `substitution`: don't subst for `system`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqllogictest-rs.